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

Class Borrowed

atomic-core/examples/graph_codec_lab/codec.rs:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 content_hash: Option<[u8; 32]>,
28}
29struct Borrowed<'a> {
30 control: &'a [u8],
31 numbers: Vec<&'a [u8]>,
32 bytes: &'a [u8],
33 dictionary: Vec<&'a [u8]>,
34 references: &'a [u8],
35 content_hash: Option<[u8; 32]>,
36}
37
38fn slice<'a>(input: &mut &'a [u8]) -> Result<&'a [u8]> {
39 let (bytes, rest) = postcard::take_from_bytes(input)?;

Callers 3

repository_pathFunction · 0.50
one_lineFunction · 0.50
spelling_ofMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected