Class RangeRequestInputStream

    • Constructor Detail

      • RangeRequestInputStream

        public RangeRequestInputStream​(InputStream in,
                                       long skip,
                                       long length)
                                throws IOException
        Parameters:
        in - the underlying input stream, or null if this instance is to be created without an underlying stream.
        skip - the number of bytes to skip at the beginning of the stream
        length - the number of bytes from the inputstream to read
        Throws:
        IOException - if IO exception occurred