mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
LibWeb: Implement TextEncoder.prototype.encoding
This commit is contained in:
parent
f37d00c07b
commit
f8387dea26
4 changed files with 23 additions and 1 deletions
|
@ -34,6 +34,8 @@ public:
|
|||
|
||||
JS::Uint8Array* encode(String const& input) const;
|
||||
|
||||
static FlyString const& encoding();
|
||||
|
||||
protected:
|
||||
// https://encoding.spec.whatwg.org/#dom-textencoder
|
||||
TextEncoder() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue