Package 

Class BoundedSeekableByteChannelInputStream

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class org.readium.r2.shared.util.zip.compress.utils.BoundedArchiveInputStream

        read, read
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BoundedSeekableByteChannelInputStream

        BoundedSeekableByteChannelInputStream(long start, long remaining, SeekableByteChannel channel)
        Create a bounded stream on the underlying SeekableByteChannel
        Parameters:
        start - Position in the stream from where the reading of this bounded stream starts
        remaining - Amount of bytes which are allowed to read from the bounded stream
        channel - Channel which the reads will be delegated to