MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / decode_all

Method decode_all

nodedb-codec/src/zstd_codec.rs:226–228  ·  view source on GitHub ↗
(data: &[u8])

Source from the content-addressed store, hash-verified

224
225impl ZstdDecoder {
226 pub fn decode_all(data: &[u8]) -> Result<Vec<u8>, CodecError> {
227 decode(data)
228 }
229
230 pub fn uncompressed_size(data: &[u8]) -> Result<usize, CodecError> {
231 uncompressed_size(data)

Callers

nothing calls this directly

Calls 1

decodeFunction · 0.70

Tested by

no test coverage detected