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

Method len

rust/fory-core/src/buffer.rs:51–53  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

49
50 #[inline(always)]
51 pub fn len(&self) -> usize {
52 self.bf.len()
53 }
54
55 #[inline(always)]
56 pub fn is_empty(&self) -> bool {

Callers 15

is_latin_sseFunction · 0.80
is_latin_avxFunction · 0.80
benchmark_write_latin1Function · 0.80
benchmark_read_latin1Function · 0.80
reserveMethod · 0.80
skipMethod · 0.80
set_bytesMethod · 0.80
write_bytesMethod · 0.80
write_bytes_from_ptrMethod · 0.80
write_utf8_stringMethod · 0.80
sub_sliceMethod · 0.80
value_atMethod · 0.80

Calls

no outgoing calls

Tested by 10

test_is_latinFunction · 0.64
test_latin1Function · 0.64
test_utf8Function · 0.64
test_utf16Function · 0.64
test_bufferFunction · 0.64
option_compositionFunction · 0.64
fory_write_dataMethod · 0.64