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

Method visit_bytes

atomic-core/src/change/format_v3/graph_fields/raw.rs:92–95  ·  view source on GitHub ↗
(self, v: &[u8])

Source from the content-addressed store, hash-verified

90 self.inner.visit_string(v)
91 }
92 fn visit_bytes<E: de::Error>(self, v: &[u8]) -> Result<Self::Value, E> {
93 self.b.charge(v.len())?;
94 self.inner.visit_bytes(v)
95 }
96 fn visit_borrowed_bytes<E: de::Error>(self, v: &'de [u8]) -> Result<Self::Value, E> {
97 self.b.charge(v.len())?;
98 self.inner.visit_borrowed_bytes(v)

Callers

nothing calls this directly

Calls 2

chargeMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected