UnprotectedPacket
struct UnprotectedPacketThe output of :func:unprotect_initial_packet.
header is the unprotected packet header (first byte plus
the rest of the long header fields plus the packet number),
payload is the AEAD-decrypted frame bytes, and
packet_number is the reconstructed full packet number per
RFC 9000 §A.3. pn_length is the on-wire packet-number
encoding length in bytes (1..4) so the caller can advance
cursors without redoing the parse.
Implements Copyable, Movable
- Fields
header: List[UInt8]payload: List[UInt8]packet_number: UInt64pn_length: Int