mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
25 lines
410 B
C
25 lines
410 B
C
![]() |
/*
|
||
|
* Copyright (c) 2024, Tim Flynn <trflynn89@ladybird.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <AK/FlyString.h>
|
||
|
|
||
|
namespace Web::Encoding {
|
||
|
|
||
|
class TextEncoderCommonMixin {
|
||
|
public:
|
||
|
virtual ~TextEncoderCommonMixin();
|
||
|
|
||
|
// https://encoding.spec.whatwg.org/#dom-textencoder-encoding
|
||
|
FlyString const& encoding() const;
|
||
|
|
||
|
protected:
|
||
|
TextEncoderCommonMixin();
|
||
|
};
|
||
|
|
||
|
}
|