Interface VCustomSource.SeekCallback

Enclosing class:
VCustomSource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface VCustomSource.SeekCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    seek(long offset, VCustomSource.SeekWhence whence)
    Seek to a specific position in the input
  • Method Details

    • seek

      long seek(long offset, VCustomSource.SeekWhence whence)
      Seek to a specific position in the input
      Parameters:
      offset - Relative offset in bytes from the position specified by whence
      whence - Where to seek from, one of VCustomSource.SeekWhence
      Returns:
      the new position in the input, or -1 on error