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

Method write_bytes

rust/fory-core/src/buffer.rs:81–84  ·  view source on GitHub ↗
(&mut self, v: &[u8])

Source from the content-addressed store, hash-verified

79
80 #[inline(always)]
81 pub fn write_bytes(&mut self, v: &[u8]) -> usize {
82 self.bf.extend_from_slice(v);
83 v.len()
84 }
85
86 #[inline(always)]
87 pub(crate) unsafe fn write_bytes_from_ptr(&mut self, ptr: *const u8, len: usize) {

Callers 14

write_decimal_unscaledFunction · 0.45
write_type_metaMethod · 0.45
write_type_meta_fastMethod · 0.45
writeMethod · 0.45
to_bytesMethod · 0.45
write_nameMethod · 0.45
to_meta_bytesMethod · 0.45

Calls 1

lenMethod · 0.80