Class NativeRead

java.lang.Object
dev.gothickit.zenkit.NativeRead
All Implemented Interfaces:
NativeObject, Read

public final class NativeRead extends Object implements NativeObject, Read
  • Method Details

    • fromNativeHandle

      @Contract("null -> null; !null -> new") @Nullable public static @Nullable NativeRead fromNativeHandle(com.sun.jna.Pointer handle)
    • getNativeHandle

      @NotNull public @NotNull com.sun.jna.Pointer getNativeHandle()
      Specified by:
      getNativeHandle in interface NativeObject
    • read

      public long read(com.sun.jna.Pointer into, long length)
      Specified by:
      read in interface Read
    • seek

      public long seek(long offset, Whence whence)
      Specified by:
      seek in interface Read
    • tell

      public long tell()
      Specified by:
      tell in interface Read
    • eof

      public boolean eof()
      Specified by:
      eof in interface Read