MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / write_u32

Function write_u32

nodedb-spatial/src/wkb.rs:137–139  ·  view source on GitHub ↗
(buf: &mut Vec<u8>, val: u32)

Source from the content-addressed store, hash-verified

135}
136
137fn write_u32(buf: &mut Vec<u8>, val: u32) {
138 buf.extend_from_slice(&val.to_le_bytes());
139}
140
141fn write_f64(buf: &mut Vec<u8>, val: f64) {
142 buf.extend_from_slice(&val.to_le_bytes());

Callers 2

write_geometryFunction · 0.70
write_headerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected