TextEncoder

@JSImport("node:util", "TextEncoder") @native @JSType class TextEncoder() extends TextEncoder
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def encode(input: String): Uint8Array
Inherited from
TextEncoder
def encode(): Uint8Array
Inherited from
TextEncoder
def encodeInto(input: String, output: Uint8Array): EncodeIntoResult
Inherited from
TextEncoder
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Inherited fields

val encoding: String
Inherited from
TextEncoder