Bounded QUIC v1 wire helpers.
Summary
Functions
Validate encryption-level constraints that cannot be inferred from frame bytes.
Functions
@spec decode_varint(binary()) :: {:ok, non_neg_integer(), binary()} | {:error, atom()}
@spec encode_varint(non_neg_integer()) :: {:ok, binary()} | {:error, :varint_overflow}
@spec reconstruct_packet_number(non_neg_integer(), non_neg_integer(), pos_integer()) :: {:ok, non_neg_integer()} | {:error, atom()}
@spec validate_frame_levels([map()], :initial | :handshake | :application) :: :ok | {:error, term()} | {:wrong_encryption_level, atom(), atom()}
Validate encryption-level constraints that cannot be inferred from frame bytes.