Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

EncodeQuicDataFrame

function EncodeQuicDataFrame(const aFrame: tQuicFrame; const aData: TBytes; aDataOffset, aCount: Integer): TBytes;
Encodes CRYPTO or STREAM using only the selected read-only slice of aData; aFrame.Data is ignored. No reference is retained. The independent result contains one copy of those bytes. Input aliases must not change during this call. Invalid slices/fields raise eQuicError. Empty data and FIN are valid.