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.
-
Method Summary
Modifier and TypeMethodDescriptionlong
seek
(long offset, VCustomSource.SeekWhence whence) Seek to a specific position in the input
-
Method Details
-
seek
Seek to a specific position in the input- Parameters:
offset
- Relative offset in bytes from the position specified bywhence
whence
- Where to seek from, one ofVCustomSource.SeekWhence
- Returns:
- the new position in the input, or -1 on error
-