1 | /*! |
2 | This module provides a raw Snappy encoder and decoder. |
3 | |
4 | A raw Snappy encoder/decoder can only compress/decompress a fixed amount of |
5 | data at a time. For this reason, this module is lower level and more difficult |
6 | to use than the higher level streaming readers and writers exposed as part of |
7 | the [`read`](../read/index.html) and [`write`](../write/index.html) modules. |
8 | |
9 | Generally, one only needs to use the raw format if some other source is |
10 | generating raw Snappy compressed data and you have no choice but to do the |
11 | same. Otherwise, the Snappy frame format should probably always be preferred. |
12 | */ |
13 | pub use crate::compress::{max_compress_len, Encoder}; |
14 | pub use crate::decompress::{decompress_len, Decoder}; |
15 | |