MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / encode_fastlanes_lz4_i64

Function encode_fastlanes_lz4_i64

nodedb-codec/src/pipeline.rs:281–284  ·  view source on GitHub ↗

FastLanes → LZ4: raw integers (symbol IDs, non-delta columns).

(values: &[i64])

Source from the content-addressed store, hash-verified

279
280/// FastLanes → LZ4: raw integers (symbol IDs, non-delta columns).
281fn encode_fastlanes_lz4_i64(values: &[i64]) -> Result<Vec<u8>, CodecError> {
282 let packed = crate::fastlanes::encode(values);
283 Ok(crate::lz4::encode(&packed))
284}
285
286fn decode_fastlanes_lz4_i64(data: &[u8]) -> Result<Vec<i64>, CodecError> {
287 let packed = crate::lz4::decode(data)?;

Callers 2

encode_i64_pipelineFunction · 0.85
encode_bytes_pipelineFunction · 0.85

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected