TextDecoder

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

Value members

Constructors

def this(encoding: String)
def this(encoding: String, options: Fatal)
def this(encoding: Unit, options: Fatal)

Inherited methods

def decode(input: Unit, options: Stream): String
Inherited from
TextDecoder
def decode(input: Null, options: Stream): String
Inherited from
TextDecoder
def decode(input: ArrayBuffer, options: Stream): String
Inherited from
TextDecoder
def decode(input: ArrayBuffer): String
Inherited from
TextDecoder
def decode(input: ArrayBufferView, options: Stream): String
Inherited from
TextDecoder
def decode(input: ArrayBufferView): String
Inherited from
TextDecoder
def decode(): String
Inherited from
TextDecoder
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
TextDecoder
val fatal: Boolean
Inherited from
TextDecoder
val ignoreBOM: Boolean
Inherited from
TextDecoder