Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ to_bytes
Method
to_bytes
nodedb/src/control/server/resp/codec.rs:114–118 ·
view source on GitHub ↗
Serialize to a new Vec.
(&self)
Source
from the content-addressed store, hash-verified
112
113
/// Serialize to a new Vec.
114
pub fn to_bytes(&self) -> Vec<u8> {
115
let mut buf = Vec::with_capacity(64);
116
self.serialize(&mut buf);
117
buf
118
}
119
}
120
121
/// RESP2 frame parser.
Callers
15
wal_record_round_trip_restores_hwm
Function · 0.45
rs256_roundtrip
Function · 0.45
rs256_wrong_key_rejected
Function · 0.45
broadcast_notify_to_cluster
Function · 0.45
persist_row
Method · 0.45
propose_and_await
Method · 0.45
persist
Method · 0.45
apply_op
Method · 0.45
serve
Method · 0.45
send_frame
Method · 0.45
unknown_array_is_ignored
Function · 0.45
op_key
Function · 0.45
Calls
1
serialize
Method · 0.45
Tested by
5
wal_record_round_trip_restores_hwm
Function · 0.36
rs256_roundtrip
Function · 0.36
rs256_wrong_key_rejected
Function · 0.36
unknown_array_is_ignored
Function · 0.36
roundtrip
Function · 0.36