Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/erans/pgsqlite
/ len
Method
len
src/protocol/buffer_pool.rs:344–346 ·
view source on GitHub ↗
Get the length of the buffer
(&self)
Source
from the content-addressed store, hash-verified
342
343
/// Get the length of the buffer
344
pub fn len(&self) -> usize {
345
self.buffer().len()
346
}
347
348
/// Check if the buffer is empty
349
pub fn is_empty(&self) -> bool {
Callers
15
check_rate_limits
Method · 0.45
maybe_cleanup
Method · 0.45
get_stats
Method · 0.45
return_buffer
Method · 0.45
cleanup_old_buffers
Method · 0.45
get_stats
Method · 0.45
clear
Method · 0.45
parse_message
Method · 0.45
parse_startup_message
Method · 0.45
parse_auth_request
Method · 0.45
read_cstring
Method · 0.45
encode_uuid
Method · 0.45
Calls
1
buffer
Method · 0.80
Tested by
no test coverage detected