Class SnappyInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

@Deprecated public class SnappyInputStream extends AbstractSnappyInputStream
Deprecated.
Prefer the use of SnappyFramedInputStream which implements the standard x-snappy-framed specification.
This class implements an input stream for reading Snappy compressed data of the format produced by SnappyOutputStream.

NOTE:This implementation cannot read compressed data produced by SnappyFramedOutputStream.

  • Field Details

  • Constructor Details

    • SnappyInputStream

      public SnappyInputStream(InputStream in) throws IOException
      Deprecated.
      Creates a Snappy input stream to read data from the specified underlying input stream.
      Parameters:
      in - the underlying input stream
      Throws:
      IOException
    • SnappyInputStream

      public SnappyInputStream(InputStream in, boolean verifyChecksums) throws IOException
      Deprecated.
      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
      Throws:
      IOException
  • Method Details