1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibWeb: Implement TextEncoder.prototype.encode()

This commit is contained in:
Linus Groh 2021-12-12 18:05:11 +00:00 committed by Andreas Kling
parent 35d3a1e77b
commit f37d00c07b
6 changed files with 69 additions and 2 deletions

View file

@ -2,7 +2,7 @@
interface TextEncoder {
constructor();
// [NewObject] Uint8Array encode(optional USVString input = "");
[NewObject] Uint8Array encode(optional USVString input = "");
// TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);
// readonly attribute DOMString encoding;