QuicPayloadCapacity
function QuicPayloadCapacity(const aLayout: tQuicPacketLayout; aMaxWireBytes: Integer): Integer;
Includes the 16-byte AEAD tag and exact minimal Length encoding. Returns -1 if even the header-protection sample cannot fit. Packet numbers are supplied by the connection owner and must never be reused after packet protection.