fieldToByteArray() functionOn this pagefieldToByteArray() functionFieldToByteArray convert fields to byte representation based on typeSignature:export declare function fieldToByteArray(field: unknown): Uint8Array;ParametersParameterTypeDescriptionfieldunknownfield to convertReturns:Uint8ArrayUint8Array