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

Method bytes

nodedb/src/engine/array/store/segment_handle.rs:43–48  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

41
42impl Backing {
43 fn bytes(&self) -> &[u8] {
44 match self {
45 Backing::Mmap(m) => m,
46 Backing::Decrypted(v) => v,
47 }
48 }
49}
50
51#[derive(Clone)]

Callers 2

openMethod · 0.45
readerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected