TextEncoder
utils • Docs
near-sdk-js v2.0.0 / utils / TextEncoder
Class: TextEncoder
A subset of NodeJS TextEncoder API
Constructors
new TextEncoder()
new TextEncoder():
TextEncoder
Returns
Methods
encode()
encode(
s
):Uint8Array
Parameters
• s: string
Returns
Uint8Array
Defined in
Last updated