Header Pair Field
class HeaderPairField<A, B>(val fieldA: HeaderField<A>, val fieldB: HeaderField<B>) : KovenPairField<A, B> , HeaderField<KovenPair<A, B>>
A header field that combines two other header fields. Used to decode KovenPair.
Functions
Link copied to clipboard
Creates a pair of header fields as HeaderPairField.
Link copied to clipboard
Binds a value to a HeaderField for readable typed header construction. This is a pass-through that ensures the value matches the field type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Flattens the field into its constituent fields.
Link copied to clipboard
Marks a header field as optional.