MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / decode

Function decode

atomic-core/examples/graph_codec_lab/codec.rs:515–517  ·  view source on GitHub ↗
(encoded: &[u8])

Source from the content-addressed store, hash-verified

513 Ok(out)
514}
515pub fn decode(encoded: &[u8]) -> Result<Vec<u8>> {
516 decode_context(encoded, None)
517}
518pub fn decode_with_content(encoded: &[u8], content: &[u8]) -> Result<Vec<u8>> {
519 decode_context(encoded, Some(content))
520}

Callers 4

decode_frameFunction · 0.50
measureFunction · 0.50
measureFunction · 0.50
measureFunction · 0.50

Calls 1

decode_contextFunction · 0.85

Tested by

no test coverage detected