Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

DecodeQuicPacketNumber

function DecodeQuicPacketNumber(aTruncated: UInt32; aByteLen: Integer; aExpected: UInt64): UInt64;
Header protection must already be removed. aExpected is the next expected packet number and may equal cQuicMaxVarInt + 1 after the maximum number. The result is always a legal 62-bit packet number.