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

Function encode

atomic-core/examples/graph_codec_lab/codec.rs:469–471  ·  view source on GitHub ↗
(value: &T)

Source from the content-addressed store, hash-verified

467}
468
469pub fn encode<T: Serialize>(value: &T) -> Result<Vec<u8>> {
470 encode_context(value, None, false)
471}
472pub fn encode_with_content<T: Serialize>(value: &T, content: &[u8]) -> Result<Vec<u8>> {
473 encode_context(value, Some(content), false)
474}

Callers 7

make_columnFunction · 0.50
measureFunction · 0.50
measureFunction · 0.50
measureFunction · 0.50

Calls 1

encode_contextFunction · 0.85