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

Method add_bytes

src/protocol/tests.rs:21–24  ·  view source on GitHub ↗
(&mut self, bytes: &[u8])

Source from the content-addressed store, hash-verified

19 }
20
21 pub fn add_bytes(&mut self, bytes: &[u8]) -> &mut Self {
22 self.buffers.push(bytes.to_vec());
23 self
24 }
25
26 pub fn add_int16(&mut self, value: i16) -> &mut Self {
27 self.buffers.push(value.to_be_bytes().to_vec());

Callers 7

bindMethod · 0.45
copy_dataMethod · 0.45
ready_for_queryFunction · 0.45
data_rowFunction · 0.45
copy_dataFunction · 0.45

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected