readUint32

fnuint readUint32(const(ubyte)[] data, ref size_t offset) @safe pure nothrow @nogc

Reads a big-endian uint32 from data[offset..offset+4].

Parameters

dataSource bytes.
offsetStarting position (updated by 4).

Returns

The uint32 value.