MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / read_u16

Function read_u16

server/src/server/disk_prefix_cache.cpp:185–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183static bool read_u64(FILE * f, uint64_t & out) { return std::fread(&out, 8, 1, f) == 1; }
184static bool read_i64(FILE * f, int64_t & out) { return std::fread(&out, 8, 1, f) == 1; }
185static bool read_u16(FILE * f, uint16_t & out) { return std::fread(&out, 2, 1, f) == 1; }
186
187// ─── Construction ───────────────────────────────────────────────────────
188

Callers 1

read_fileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected