Files
ladybird/Userland/Libraries/LibWeb/Encoding/TextEncoder.idl
Linus Groh 35d3a1e77b LibWeb: Add the TextEncoder interface
This is from the Encoding Standard (https://encoding.spec.whatwg.org),
and therefore gets its own namespace and subdirectory within LibWeb :^)
2021-12-12 20:58:36 +01:00

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;
};