MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / add_cstring

Function add_cstring

tests/client_compat.rs:1205–1208  ·  view source on GitHub ↗
(buffer: &mut Vec<u8>, value: &str)

Source from the content-addressed store, hash-verified

1203}
1204
1205fn add_cstring(buffer: &mut Vec<u8>, value: &str) {
1206 buffer.extend_from_slice(value.as_bytes());
1207 buffer.push(0);
1208}
1209
1210fn read_until_ready(stream: &mut impl Read) -> Result<Vec<RawBackendMessage>> {
1211 let mut messages = Vec::new();

Callers 6

startup_message_withFunction · 0.85
query_messageFunction · 0.85
parse_statementFunction · 0.85
bind_statementFunction · 0.85
describe_portalFunction · 0.85
execute_portalFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected