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

Method visit_byte_buf

atomic-core/src/change/format_v3/graph_fields/raw.rs:100–103  ·  view source on GitHub ↗
(self, v: Vec<u8>)

Source from the content-addressed store, hash-verified

98 self.inner.visit_borrowed_bytes(v)
99 }
100 fn visit_byte_buf<E: de::Error>(self, v: Vec<u8>) -> Result<Self::Value, E> {
101 self.b.charge(v.len())?;
102 self.inner.visit_byte_buf(v)
103 }
104 fn visit_none<E: de::Error>(self) -> Result<Self::Value, E> {
105 self.inner.visit_none()
106 }

Callers

nothing calls this directly

Calls 2

chargeMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected