Home
last modified time | relevance | path

Searched refs:write_raw_bytes (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/protobuf/src/
Dcoded_output_stream.rs179 pub fn write_raw_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()> { in write_raw_bytes() method
235 self.write_raw_bytes(&buf[..len]) in write_raw_varint32()
250 self.write_raw_bytes(&buf[..len]) in write_raw_varint64()
257 self.write_raw_bytes(&bytes) in write_raw_little_endian32()
263 self.write_raw_bytes(&bytes) in write_raw_little_endian64()
486 self.write_raw_bytes(bytes)?; in write_bytes_no_tag()
524 self.write_raw_bytes(buf)?; in write()
599 test_write("00 ab", |os| os.write_raw_bytes(&[0x00, 0xab])); in test_output_stream_write_raw_bytes()
607 os.write_raw_bytes(&[0x01, 0x02, 0x03, 0x04])?; in test_output_stream_write_raw_bytes()
/external/rust/crates/protobuf/benches/
Dcoded_output_stream.rs22 os.write_raw_bytes(test::black_box(b"1234567890")).unwrap(); in buffer_write_bytes()