readUint16
fn
ushort readUint16(const(ubyte)[] data, ref size_t offset) @safe pure nothrow @nogcReads a big-endian uint16 from data[offset..offset+2].
Parameters
data | Source bytes. |
offset | Starting position (updated by 2). |
Returns
The uint16 value.