Поделиться через


TextEncoder interface

Extends

Унаследованные свойства

encoding

Методы

encode(string)
encodeInto(string, Uint8Array)

Сведения об унаследованном свойстве

encoding

encoding: string

Значение свойства

string

Наследуется отTextEncoderCommon.encoding

Сведения о методе

encode(string)

function encode(input?: string): Uint8Array

Параметры

input

string

Возвращаемое значение

Uint8Array

encodeInto(string, Uint8Array)

function encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult

Параметры

source

string

destination

Uint8Array

Возвращаемое значение