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

Method bytes

atomic-repository/src/repository/project_tree.rs:1658–1661  ·  view source on GitHub ↗
(&mut self, bytes: &[u8])

Source from the content-addressed store, hash-verified

1656 self.raw(&value.to_be_bytes());
1657 }
1658 fn bytes(&mut self, bytes: &[u8]) {
1659 self.u32(bytes.len() as u32);
1660 self.raw(bytes);
1661 }
1662 fn optional_bytes(&mut self, bytes: Option<&[u8]>) {
1663 match bytes {
1664 Some(bytes) => {

Callers 6

to_versioned_bytesMethod · 0.45
from_versioned_bytesMethod · 0.45
canonical_bytesMethod · 0.45
tagMethod · 0.45
optional_bytesMethod · 0.45
git_oidMethod · 0.45

Calls 4

u32Method · 0.80
rawMethod · 0.80
getMethod · 0.65
lenMethod · 0.45

Tested by

no test coverage detected