This is from the Encoding Standard (https://encoding.spec.whatwg.org), and therefore gets its own namespace and subdirectory within LibWeb :^)
9 lines
292 B
Text
9 lines
292 B
Text
[Exposed=(Window,Worker)]
|
|
interface TextEncoder {
|
|
constructor();
|
|
|
|
// [NewObject] Uint8Array encode(optional USVString input = "");
|
|
// TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);
|
|
|
|
// readonly attribute DOMString encoding;
|
|
};
|