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.