mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibWeb: Port TextEncoder interface from DeprecatedString to String
This commit is contained in:
parent
278061e8b9
commit
76449c21b2
3 changed files with 7 additions and 7 deletions
|
@ -24,9 +24,9 @@ public:
|
|||
|
||||
virtual ~TextEncoder() override;
|
||||
|
||||
JS::Uint8Array* encode(DeprecatedString const& input) const;
|
||||
JS::Uint8Array* encode(String const& input) const;
|
||||
|
||||
static DeprecatedFlyString const& encoding();
|
||||
static FlyString const& encoding();
|
||||
|
||||
protected:
|
||||
// https://encoding.spec.whatwg.org/#dom-textencoder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue