Skip to main content

fieldToByteArray() function

FieldToByteArray convert fields to byte representation based on type

Signature:

export declare function fieldToByteArray(field: unknown): Uint8Array;

Parameters

ParameterTypeDescription
fieldunknownfield to convert

Returns:

Uint8Array

Uint8Array