pco-0.2.4 has been yanked.
Quick Start
use ;
use DEFAULT_COMPRESSION_LEVEL;
use PcoResult;
For information about Pco in general, see the main README.
For documentation, docs.rs has the best examples and API details.
API Notes
- In some places, Pco methods accept a destination (either W: Write or &mut [T: NumberLike]). If Pco returns an error, it is possible both the destination and the struct have been modified.
- Pco will always try to process all numbers, and it will fail if insufficient bytes are
available. For instance, during decompression Pco will try to fill the entire
&mut [T]passed in, returning an insufficient data error if the&[u8]passed in is not long enough.