Expand description
This module provides a std::io::Write
implementation:
write::FrameEncoder
wraps anotherstd::io::Write
implemenation, and compresses data encoded using the Snappy frame format. Use this if you have uncompressed data source and wish to write it as compressed data.
It would also be possible to provide a write::FrameDecoder
, which decompresses
data as it writes it, but it hasn’t been implemented yet.
Structs§
- A writer for compressing a Snappy stream.
IntoInnerError
occurs when consuming an encoder fails.