- All Superinterfaces:
AutoCloseable,Channel,Closeable,ReadableByteChannel,SeekableSource
A
SeekableSource that can be offsetted by a given number of bytes- Author:
- Andrea Vacondio
-
Method Summary
Methods inherited from interface java.nio.channels.ReadableByteChannel
readMethods inherited from interface org.sejda.io.SeekableSource
asInputStream, asNewInputStream, back, back, forward, id, peek, peekBack, position, position, read, requireOpen, reset, size, view
-
Method Details
-
offset
Sets the offset for this source- Parameters:
offset-- Throws:
IllegalArgumentException- if the offset is negative or if it would lead to a negative sizeIOException
-