BoundedInputStream
Creates the stream that will at most read the given amount of bytes from the given stream.
Parameters
in
the stream to read from
size
the maximum amount of bytes to read
Creates the stream that will at most read the given amount of bytes from the given stream.
the stream to read from
the maximum amount of bytes to read