encode
utils • Docs
near-sdk-js v2.0.0 / utils / encode
Function: encode()
encode(
s
):Uint8Array
Encode the string to Uint8Array with UTF-8 encoding
Parameters
• s: string
String to encode
Returns
Uint8Array
result Uint8Array
Defined in
Last updated