Serializes this field to a length-prefixed byte array.
The serialized bytes.
Decodes the field value to a UTF-8 string.
The decoded string.
Static
deserializeDeserializes a TupleField from a buffer.
The buffer to read from.
The deserialized TupleField.
Static
fromCreates a TupleField from a UTF-8 string.
The string to encode.
A new TupleField containing the encoded value.
Represents a single field in a Tuple, storing a value as a UTF-8 encoded byte array.
Used for path segments or protocol fields in MOQT.