Class Seekable.SeekableIface

All Implemented Interfaces:
Proxy
Enclosing interface:
Seekable

public static class Seekable.SeekableIface extends TypeInterface
Provides an interface for implementing seekable functionality on I/O Streams.
  • Constructor Details

    • SeekableIface

      public SeekableIface(MemorySegment address)
      Create a SeekableIface proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • overrideTell

      public void overrideTell(Arena arena, @Nullable Method method)
      Override virtual method tell.
      Parameters:
      method - the method to invoke
    • overrideCanSeek

      public void overrideCanSeek(Arena arena, @Nullable Method method)
      Override virtual method can_seek.
      Parameters:
      method - the method to invoke
    • overrideSeek

      public void overrideSeek(Arena arena, @Nullable Method method)
      Override virtual method seek.
      Parameters:
      method - the method to invoke
    • overrideCanTruncate

      public void overrideCanTruncate(Arena arena, @Nullable Method method)
      Override virtual method can_truncate.
      Parameters:
      method - the method to invoke
    • overrideTruncateFn

      public void overrideTruncateFn(Arena arena, @Nullable Method method)
      Override virtual method truncate_fn.
      Parameters:
      method - the method to invoke