Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

ReadQuicVarInt

function ReadQuicVarInt(const aData: TBytes; var aOffset: Integer; out aValue: UInt64): Boolean;
Failure leaves aOffset unchanged and explicitly returns zero in aValue. Non-minimal encodings are accepted; frame-type canonicalization belongs to the frame decoder.