MCPcopy Create free account
hub / github.com/YuminosukeSato/ironkernel / byte_len

Method byte_len

src/buffer/inner.rs:74–76  ·  view source on GitHub ↗

Total bytes of storage.

(&self)

Source from the content-addressed store, hash-verified

72
73 /// Total bytes of storage.
74 pub fn byte_len(&self) -> usize {
75 self.len() * self.dtype.byte_size()
76 }
77
78 /// Get a slice of the raw bytes.
79 pub fn as_bytes(&self) -> &[u8] {

Callers

nothing calls this directly

Calls 2

lenMethod · 0.80
byte_sizeMethod · 0.80

Tested by

no test coverage detected