readSeq48
fn
ulong readSeq48(const(ubyte)[] data) @safe pure nothrow @nogcReads a 48-bit sequence number from 6 bytes (big-endian).
DTLS uses 48-bit sequence numbers on the wire. We represent them as ulong with the top 16 bits unused.
Parameters
data | Source bytes (must have at least 6 bytes). |
Returns
The 48-bit sequence number as a ulong.