MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / write_u32

Function write_u32

codegraph-kernel/grammars/kotlin/scanner.c:1664–1666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1662 "pending comment and maximum string stack must fit serialization");
1663
1664static void write_u32(char *buffer, uint32_t value) {
1665 for (unsigned i = 0; i < 4; i++) buffer[i] = (char)(value >> (8 * i));
1666}
1667
1668static uint32_t read_u32(const char *buffer) {
1669 uint32_t value = 0;

Calls

no outgoing calls

Tested by

no test coverage detected