MCPcopy Create free account
hub / github.com/BitVM/BitVM / decompress

Function decompress

bridge/src/utils.rs:160–162  ·  view source on GitHub ↗
(data: &Vec<u8>)

Source from the content-addressed store, hash-verified

158}
159
160pub fn decompress(data: &Vec<u8>) -> std::io::Result<Vec<u8>> {
161 zstd::stream::decode_all(data.as_slice())
162}

Callers 6

read_disk_cacheFunction · 0.85
fetch_compressed_objectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected