Class Overview
This class implements an input stream for reading Snappy compressed data
of the format produced by SnappyOutputStream.
Summary
| Public Constructors |
|
|
SnappyInputStream(InputStream in)
Creates a Snappy input stream to read data from the specified underlying input stream.
|
|
|
SnappyInputStream(InputStream in, boolean verifyChecksums)
Creates a Snappy input stream to read data from the specified underlying input stream.
|
Public Constructors
public
SnappyInputStream
(InputStream in)
Creates a Snappy input stream to read data from the specified underlying input stream.
Parameters
| in
| the underlying input stream
|
public
SnappyInputStream
(InputStream in, boolean verifyChecksums)
Creates a Snappy input stream to read data from the specified underlying input stream.
Parameters
| in
| the underlying input stream |
| verifyChecksums
| if true, checksums in input stream will be verified
|
Public Methods
public
int
read
(byte[] output, int offset, int length)