Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_sse
Function · 0.80
is_latin_avx
Function · 0.80
benchmark_write_latin1
Function · 0.80
benchmark_read_latin1
Function · 0.80
reserve
Method · 0.80
skip
Method · 0.80
set_bytes
Method · 0.80
write_bytes
Method · 0.80
write_bytes_from_ptr
Method · 0.80
write_utf8_string
Method · 0.80
sub_slice
Method · 0.80
value_at
Method · 0.80
Calls
no outgoing calls
Tested by
10
rejects_body_hash_mismatch_after_successful_parse
Function · 0.64
rejects_hash_consistent_trailing_body_bytes
Function · 0.64
test_is_latin
Function · 0.64
test_latin1
Function · 0.64
test_utf8
Function · 0.64
test_utf16
Function · 0.64
test_buffer
Function · 0.64
test_serialize_to_detailed
Function · 0.64
option_composition
Function · 0.64
fory_write_data
Method · 0.64