MCPcopy Create free account
hub / github.com/apache/thrift / write_i16

Method write_i16

lib/rs/src/protocol/binary.rs:457–459  ·  view source on GitHub ↗
(&mut self, i: i16)

Source from the content-addressed store, hash-verified

455 }
456
457 fn write_i16(&mut self, i: i16) -> crate::Result<()> {
458 self.transport.write_i16::<BigEndian>(i).map_err(From::from)
459 }
460
461 fn write_i32(&mut self, i: i32) -> crate::Result<()> {
462 self.transport.write_i32::<BigEndian>(i).map_err(From::from)

Callers 1

write_field_beginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected