mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-18 07:43:37 +00:00
This was used before we generated dictionary definitions using the IDL generator, and no longer serves the purpose it used to.
16 lines
494 B
Text
16 lines
494 B
Text
// https://encoding.spec.whatwg.org/#dictdef-textencoderencodeintoresult
|
|
dictionary TextEncoderEncodeIntoResult {
|
|
unsigned long long read;
|
|
unsigned long long written;
|
|
};
|
|
|
|
// https://encoding.spec.whatwg.org/#textencoder
|
|
[Exposed=*]
|
|
interface TextEncoder {
|
|
constructor();
|
|
|
|
[NewObject] Uint8Array encode(optional USVString input = "");
|
|
TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);
|
|
};
|
|
|
|
TextEncoder includes TextEncoderCommon;
|