# Package org.apache.commons.compress.compressors.snappy

package org.apache.commons.compress.compressors.snappy
Provides stream classes for the Snappy algorithm.

The raw Snappy format which only contains the compressed data is supported by the `SnappyCompressor*putStream` classes while the so called "framing format" is implemented by `FramedSnappyCompressor*putStream`. Note there have been different versions of the framing format specification, the implementation in Commons Compress is based on the specification "Last revised: 2013-10-25".

Only the "framing format" can be auto-detected this means you have to speficy the format explicitly if you want to read a "raw" Snappy stream via `CompressorStreamFactory`.

- Related Packages
  Package
  Description
  org.apache.commons.compress.compressors
  Provides a unified API and factories for dealing with compressed streams.
- Class
  Description
  FramedSnappyCompressorInputStream
  CompressorInputStream for the framing Snappy format.
  FramedSnappyCompressorOutputStream
  CompressorOutputStream for the framing Snappy format.
  FramedSnappyDialect
  Dialects of the framing format that `FramedSnappyCompressorInputStream` can deal with.
  SnappyCompressorInputStream
  CompressorInputStream for the raw Snappy format.
  SnappyCompressorOutputStream
  CompressorOutputStream for the raw Snappy format.