Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ serialize_u16
Method
serialize_u16
atomic-core/examples/graph_codec_lab/codec.rs:320–322 ·
view source on GitHub ↗
(self, v: u16)
Source
from the content-addressed store, hash-verified
318
Ok(())
319
}
320
fn serialize_u16(self, v: u16) -> SResult<()> {
321
self.number(0, v.into())
322
}
323
fn serialize_u32(self, v: u32) -> SResult<()> {
324
self.number(1, v.into())
325
}
Callers
nothing calls this directly
Calls
1
number
Method · 0.80
Tested by
no test coverage detected