TextEncoder

fmgp.typings.std.global.TextEncoder
open class TextEncoder() extends StObject, TextEncoder

Attributes

Graph
Supertypes
trait TextEncoder
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def encode(input: String): Uint8Array

Attributes

Inherited from:
TextEncoder

Returns the result of running UTF-8's encoder.

Returns the result of running UTF-8's encoder.

Attributes

Inherited from:
TextEncoder

Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.

Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.

Attributes

Inherited from:
TextEncoder

Attributes

Inherited from:
Object

Attributes

Inherited from:
Object

Attributes

Inherited from:
Object

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

override val encoding: String

Returns "utf-8".

Returns "utf-8".

Attributes