GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

3 results across 6 corpora for TextEncoder: encodeInto() method.

Developer library 3

Firefox 66 release notes for developers

ntil everyone has it. #### DOM - The HTMLSlotElement.assignedElements() method has been implemented ([Firefox bug 1425685](https://bugzil.la/1425685)). - The TextEncoder.encodeInto() method has been implemented ([Firefox bug 1514664](https://bugzil.la/1514664)). #### DOM events - The InputEvent.inputType property has been implemented ([Firefox bug 1447239](https://bugzil.la/1447239)). - The Window.event and Event

TextEncoder

Encoding API The **`TextEncoder`** interface enables you to encode a JavaScript string using UTF-8. ## Constructor - TextEncoder() - : Creates and returns a new `TextEncoder`. ## Instance properties _The `TextEncoder` interface doesn't inherit any properties._ - TextEncoder.encoding - : Always returns `utf-8`. ## Instance methods _The `TextEncoder` interface doesn't inherit any methods_. - TextEncoder.e

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder

TextEncoder: encodeInto() method

Encoding API The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding. This is potentially more performant than the encode() method — especially when the target buffer is a view into a [Wasm](/docs/WebAssembly) heap. ## Syntax ```js-nolint encodeInto(string, uint8Array) ```

JSON results · Services directory