Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ serialize_str
Method
serialize_str
atomic-core/examples/graph_codec_lab/codec.rs:356–358 ·
view source on GitHub ↗
(self, v: &str)
Source
from the content-addressed store, hash-verified
354
self.raw(&v)
355
}
356
fn serialize_str(self, v: &str) -> SResult<()> {
357
self.byte_sequence(v.as_bytes())
358
}
359
fn serialize_bytes(self, v: &[u8]) -> SResult<()> {
360
self.byte_sequence(v)
361
}
Callers
8
serialize
Method · 0.80
serialize
Method · 0.80
serialize
Method · 0.80
serialize
Function · 0.80
serialize
Method · 0.80
serialize
Method · 0.80
serialize
Function · 0.80
serialize
Function · 0.80
Calls
2
byte_sequence
Method · 0.80
as_bytes
Method · 0.45
Tested by
no test coverage detected