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

Function compressed

atomic-core/examples/semantic_codec_lab.rs:127–129  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

125 (1..9).contains(&i)
126}
127fn compressed(bytes: &[u8]) -> Result<Vec<u8>> {
128 Ok(zstd::encode_all(bytes, 3)?)
129}
130
131fn make_column(view: &View<'_>, content: &[u8], i: usize, mut method: u8) -> Result<Column> {
132 let raw = view.columns()[i];

Callers 3

encode_frameFunction · 0.85
measureFunction · 0.85

Calls

no outgoing calls

Tested by 1