Interface Read

All Known Implementing Classes:
NativeRead

public interface Read
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull NativeRead
    adapt(@NotNull Read javaOrNative)
     
    boolean
    eof()
     
    static @NotNull Read
    from(byte @NotNull [] bytes)
     
    static @NotNull Read
    from(@NotNull String path)
     
    long
    read(com.sun.jna.Pointer into, long length)
     
    long
    seek(long offset, Whence whence)
     
    long
     
  • Method Details

    • from

      @NotNull static @NotNull Read from(@NotNull @NotNull String path)
    • from

      @NotNull static @NotNull Read from(byte @NotNull [] bytes)
    • adapt

      @NotNull static @NotNull NativeRead adapt(@NotNull @NotNull Read javaOrNative)
    • read

      long read(com.sun.jna.Pointer into, long length)
    • seek

      long seek(long offset, Whence whence)
    • tell

      long tell()
    • eof

      boolean eof()