Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

DecodeQuicFrame

function DecodeQuicFrame(const aPacket: TBytes; var aOffset: Integer; out aFrame: tQuicFrame; aMaxAckRanges: Integer = 256): Boolean;
False means a clean packet end. Malformed or unknown frames, overflow and truncated fields raise FRAME_ENCODING_ERROR. Non-minimal frame types raise PROTOCOL_VIOLATION. The cursor remains unchanged and output is empty on failure. Input/output variables are distinct. All data allocations are bounded by the packet; ACK metadata has a separate configured limit. Non-minimal encodings of ordinary integer fields are legal.