Last updated 10 months ago
utils • Docs
near-sdk-js v2.0.0 / utils / encode
encode(s): Uint8Array
s
Uint8Array
Encode the string to Uint8Array with UTF-8 encoding
• s: string
string
String to encode
result Uint8Array
packages/near-sdk-js/src/utils.ts:344