Creates a field factory for fields that store packed values (i.e., where the value is stored in half-bytes instead of full bytes).
A field factory function that creates fields with the specified codec and padding function.
The codec used to encode/decode the value.
Optional
A function used to pad the encoded value if necessary.
Generated using TypeDoc
Creates a field factory for fields that store packed values (i.e., where the value is stored in half-bytes instead of full bytes).
Returns
A field factory function that creates fields with the specified codec and padding function.