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

Method add_int32

src/protocol/buffer_writer.rs:48–51  ·  view source on GitHub ↗
(&mut self, value: i32)

Source from the content-addressed store, hash-verified

46 }
47
48 pub fn add_int32(&mut self, value: i32) -> &mut Self {
49 self.write_be_bytes(&value.to_be_bytes());
50 self
51 }
52
53 pub fn add_int16(&mut self, value: i16) -> &mut Self {
54 self.write_be_bytes(&value.to_be_bytes());

Callers

nothing calls this directly

Calls 1

write_be_bytesMethod · 0.80

Tested by

no test coverage detected