Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ len
Method
len
nodedb-wal/src/align.rs:131–133 ·
view source on GitHub ↗
Current number of bytes written.
(&self)
Source
from the content-addressed store, hash-verified
129
130
/// Current number of bytes written.
131
pub fn len(&self) -> usize {
132
self.len
133
}
134
135
/// Whether the buffer has no written data.
136
pub fn is_empty(&self) -> bool {
Callers
15
wire_size
Method · 0.45
to_bytes
Method · 0.45
from_bytes
Method · 0.45
detects_truncation
Function · 0.45
wire_size
Method · 0.45
to_bytes
Method · 0.45
from_bytes
Method · 0.45
rejects_truncated
Function · 0.45
write
Method · 0.45
from_file
Method · 0.45
encrypt_segment_envelope
Function · 0.45
decrypt_segment_envelope
Function · 0.45
Calls
no outgoing calls
Tested by
4
detects_truncation
Function · 0.36
rejects_truncated
Function · 0.36
replay_from_limit_across_segments
Function · 0.36
truncate_within_last_window
Function · 0.36