MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / mz_write_le32

Function mz_write_le32

SampleFramework12/v1.00/TinyEXR.cpp:5479–5484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5477 p[1] = (mz_uint8)(v >> 8);
5478}
5479static void mz_write_le32(mz_uint8 *p, mz_uint32 v) {
5480 p[0] = (mz_uint8)v;
5481 p[1] = (mz_uint8)(v >> 8);
5482 p[2] = (mz_uint8)(v >> 16);
5483 p[3] = (mz_uint8)(v >> 24);
5484}
5485#define MZ_WRITE_LE16(p, v) mz_write_le16((mz_uint8 *)(p), (mz_uint16)(v))
5486#define MZ_WRITE_LE32(p, v) mz_write_le32((mz_uint8 *)(p), (mz_uint32)(v))
5487

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected