MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Stream_ReadU32_LE

Function Stream_ReadU32_LE

src/Stream.c:449–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449cc_result Stream_ReadU32_LE(struct Stream* s, cc_uint32* value) {
450 cc_uint8 data[4]; cc_result res;
451 if ((res = Stream_Read(s, data, 4))) return res;
452 *value = Stream_GetU32_LE(data); return 0;
453}
454
455cc_result Stream_ReadU32_BE(struct Stream* s, cc_uint32* value) {
456 cc_uint8 data[4]; cc_result res;

Callers 1

Zip_ExtractFunction · 0.85

Calls 2

Stream_ReadFunction · 0.85
Stream_GetU32_LEFunction · 0.85

Tested by

no test coverage detected