mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 22:08:59 +00:00
24 lines
410 B
C++
24 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();
|
|
};
|
|
|
|
}
|