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

Method as_bytes

nodedb-codec/src/double_delta.rs:70–72  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

68 }
69
70 pub(crate) fn as_bytes(&self) -> &[u8] {
71 &self.buf
72 }
73
74 pub(crate) fn bit_len(&self) -> usize {
75 self.bit_pos

Callers 12

encodeFunction · 0.45
compressible_log_dataFunction · 0.45
finishMethod · 0.45
large_data_roundtripFunction · 0.45
better_ratio_than_lz4Function · 0.45
encode_row_for_walFunction · 0.45
encode_pkFunction · 0.45
pushMethod · 0.45
push_refMethod · 0.45
pushMethod · 0.45
push_refMethod · 0.45

Calls

no outgoing calls

Tested by 4

compressible_log_dataFunction · 0.36
large_data_roundtripFunction · 0.36
better_ratio_than_lz4Function · 0.36