Skip to main content

convertFieldToBytes

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.16.0


@midnight-ntwrk/compact-runtime / convertFieldToBytes

Function: convertFieldToBytes()

function convertFieldToBytes(
n,
x,
src): Uint8Array;

Internal

Compiler internal for typecasts

Parameters

n

number

x

bigint

src

string

Returns

Uint8Array