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

Function read_null

nodedb-query/src/msgpack_scan/reader.rs:369–371  ·  view source on GitHub ↗

Check if the value at `offset` is nil.

(buf: &[u8], offset: usize)

Source from the content-addressed store, hash-verified

367
368/// Check if the value at `offset` is nil.
369pub fn read_null(buf: &[u8], offset: usize) -> bool {
370 get(buf, offset) == Some(NIL)
371}
372
373/// Read a scalar msgpack value at `offset` into `nodedb_types::Value`.
374///

Callers 10

eval_opFunction · 0.85
eq_valueFunction · 0.85
is_field_nullFunction · 0.85
append_field_valueFunction · 0.85
append_field_value_rangeFunction · 0.85
find_minmaxFunction · 0.85
read_value_as_stringFunction · 0.85
count_facet_fieldMethod · 0.85

Calls 1

getFunction · 0.85

Tested by 2