Options
All
  • Public
  • Public/Protected
  • All
Menu

TextEncoder takes a stream of code points as input and emits a stream of UTF-8 bytes

see

TextEncoder on MDN

Hierarchy

  • TextEncoder

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

encoding

  • get encoding(): string
  • Returns string

Methods

encode

  • encode(input?: string): Uint8Array
  • Parameters

    • Optional input: string

    Returns Uint8Array

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method

Generated using TypeDoc