Function zstd::decode_all

pub fn decode_all<R>(source: R) -> Result<Vec<u8>, Error>
where R: Read,
Expand description

Decompress from the given source as if using a Decoder.

The input data must be in the zstd frame format.