MCPcopy Create free account
hub / github.com/base/triedb / size

Method size

src/pointer.rs:55–57  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

53
54impl Value for Pointer {
55 fn size(&self) -> usize {
56 37 // Fixed size: 4 bytes location + 33 bytes max RLP
57 }
58
59 fn serialize_into(&self, buf: &mut [u8]) -> value::Result<usize> {
60 if buf.len() < 37 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected