MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pt_wbytes

Function pt_wbytes

tests/test_test_impact_tree.c:812–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

810} pt_wire;
811
812static void pt_wbytes(pt_wire *wire, const void *bytes, size_t length) {
813 if (!wire->ok || length > sizeof(wire->bytes) - wire->used) {
814 wire->ok = false;
815 return;
816 }
817 if (length)
818 memcpy(wire->bytes + wire->used, bytes, length);
819 wire->used += length;
820}
821
822static void pt_wnumber(pt_wire *wire, uint64_t number, size_t width) {
823 unsigned char bytes[8];

Callers 7

pt_wnumberFunction · 0.85
pt_wstringFunction · 0.85
pt_expected_digestFunction · 0.85
pt_acl_windows_sidFunction · 0.85
pt_acl_mac_entriesFunction · 0.85
pt_acl_snapshotFunction · 0.85
pt_acl_linux_attributeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected