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

Method write_bytes

lib/rs/src/protocol/binary.rs:440–443  ·  view source on GitHub ↗
(&mut self, b: &[u8])

Source from the content-addressed store, hash-verified

438 }
439
440 fn write_bytes(&mut self, b: &[u8]) -> crate::Result<()> {
441 self.write_i32(b.len() as i32)?;
442 self.transport.write_all(b).map_err(From::from)
443 }
444
445 fn write_bool(&mut self, b: bool) -> crate::Result<()> {
446 if b {

Callers 3

write_stringMethod · 0.45
must_write_bytesFunction · 0.45
must_write_uuidFunction · 0.45

Calls 2

write_i32Method · 0.45
lenMethod · 0.45

Tested by 2

must_write_bytesFunction · 0.36
must_write_uuidFunction · 0.36