mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
This is from the Encoding Standard (https://encoding.spec.whatwg.org), and therefore gets its own namespace and subdirectory within LibWeb :^)
10 lines
292 B
Plaintext
10 lines
292 B
Plaintext
[Exposed=(Window,Worker)]
|
|
interface TextEncoder {
|
|
constructor();
|
|
|
|
// [NewObject] Uint8Array encode(optional USVString input = "");
|
|
// TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);
|
|
|
|
// readonly attribute DOMString encoding;
|
|
};
|