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

Function write_f64

nodedb-query/src/msgpack_scan/writer.rs:82–85  ·  view source on GitHub ↗
(buf: &mut Vec<u8>, f: f64)

Source from the content-addressed store, hash-verified

80/// Write a msgpack float64.
81#[inline]
82pub fn write_f64(buf: &mut Vec<u8>, f: f64) {
83 buf.push(0xCB);
84 buf.extend_from_slice(&f.to_be_bytes());
85}
86
87/// Write a msgpack boolean.
88#[inline]

Callers 2

write_kv_f64Function · 0.70
emit_column_valueFunction · 0.50

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected