TEXTCODEC_API (LibTextCodec/Decoder.h)

ladybird · Libraries/LibTextCodec/Decoder.h · c · BSD-2-Clause
files

Copyright (c) 2020-2021, Andreas Kling <andreas@ladybird.org> Copyright (c) 2022, Jelle Raaijmakers <jelle@ladybird.org> Copyright (c) 2023, Sam Atkins <atkinssj@serenityos.org> SPDX-License-Identifier: BSD-2-Clause / pragma once

// Source: https://github.com/LadybirdBrowser/ladybird | License: BSD-2-Clause | Copyright 2018-present, the Ladybird developers
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2020-2021, Andreas Kling <andreas@ladybird.org>
 * Copyright (c) 2022, Jelle Raaijmakers <jelle@ladybird.org>
 * Copyright (c) 2023, Sam Atkins <atkinssj@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Forward.h>
#include <AK/Function.h>
#include <AK/Noncopyable.h>
#include <AK/Optional.h>
#include <AK/String.h>
#include <AK/Utf16String.h>
#include <LibTextCodec/Export.h>
#include <LibTextCodec/Forward.h>

namespace TextCodec {

enum class IgnoreBOM {
    Yes,
    No,
};

enum class Flush {
    No,
    Yes,
};

// https://encoding.spec.

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key