MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / add_bytes

Method add_bytes

src/protocol/buffer_writer.rs:75–78  ·  view source on GitHub ↗
(&mut self, bytes: &[u8])

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn add_bytes(&mut self, bytes: &[u8]) -> &mut Self {
76 self.write_be_bytes(bytes);
77 self
78 }
79
80 fn join(&mut self, code: Option<u8>) -> Vec<u8> {
81 if let Some(code) = code {

Callers 1

add_cstringMethod · 0.45

Calls 1

write_be_bytesMethod · 0.80

Tested by

no test coverage detected