Env

utilsDocs


near-sdk-js v2.0.0 / utils / Env

Interface: Env

Methods

latin1_string_to_uint8array()

latin1_string_to_uint8array(s): Uint8Array

Parameters

s: string

Returns

Uint8Array

Defined in

packages/near-sdk-js/src/utils.ts:7


uint8array_to_latin1_string()

uint8array_to_latin1_string(a): string

Parameters

a: Uint8Array

Returns

string

Defined in

packages/near-sdk-js/src/utils.ts:5


uint8array_to_utf8_string()

uint8array_to_utf8_string(a): string

Parameters

a: Uint8Array

Returns

string

Defined in

packages/near-sdk-js/src/utils.ts:6


utf8_string_to_uint8array()

utf8_string_to_uint8array(s): Uint8Array

Parameters

s: string

Returns

Uint8Array

Defined in

packages/near-sdk-js/src/utils.ts:8

Last updated