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

Method feed

nodedb/src/control/server/resp/codec.rs:137–139  ·  view source on GitHub ↗

Feed bytes from the network into the parser buffer.

(&mut self, data: &[u8])

Source from the content-addressed store, hash-verified

135
136 /// Feed bytes from the network into the parser buffer.
137 pub fn feed(&mut self, data: &[u8]) {
138 self.buf.extend_from_slice(data);
139 }
140
141 /// Try to parse a complete RESP frame from the buffer.
142 ///

Callers 8

parse_bulk_string_arrayFunction · 0.45
parse_inline_commandFunction · 0.45
parse_set_commandFunction · 0.45
parse_nil_bulk_stringFunction · 0.45
parse_multiple_commandsFunction · 0.45
roundtripFunction · 0.45
handle_connectionFunction · 0.45

Calls

no outgoing calls

Tested by 6

parse_bulk_string_arrayFunction · 0.36
parse_set_commandFunction · 0.36
parse_nil_bulk_stringFunction · 0.36
parse_multiple_commandsFunction · 0.36
roundtripFunction · 0.36