1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 06:04:59 +00:00
serenity/Userland/Libraries/LibWeb/Encoding/TextEncoder.idl

9 lines
286 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;
};