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

Method add_int16

src/protocol/buffer_writer.rs:53–56  ·  view source on GitHub ↗
(&mut self, value: i16)

Source from the content-addressed store, hash-verified

51 }
52
53 pub fn add_int16(&mut self, value: i16) -> &mut Self {
54 self.write_be_bytes(&value.to_be_bytes());
55 self
56 }
57
58 pub fn add_cstring(&mut self, value: &str) -> &mut Self {
59 if !value.is_empty() {

Callers

nothing calls this directly

Calls 1

write_be_bytesMethod · 0.80

Tested by

no test coverage detected