Loading...
Searching...
No Matches
encoding_type.h
Go to the documentation of this file.
#ifndef ADA_ENCODING_TYPE_H
#define ADA_ENCODING_TYPE_H
#include "ada/common_defs.h"
#include <string>
namespace ada {
enum class encoding_type {
UTF8,
UTF_16LE,
UTF_16BE,
};
ada_warn_unused std::string_view to_string(encoding_type type);
} // namespace ada
#endif // ADA_ENCODING_TYPE_H
common_defs.h
Cross-platform compiler macros and common definitions.
ada_warn_unused
#define ada_warn_unused
Definition common_defs.h:89
ada
Definition ada_idna.h:13
ada::encoding_type
encoding_type
Character encoding types for URL processing.
Definition encoding_type.h:25
ada::encoding_type::UTF_16LE
@ UTF_16LE
Definition encoding_type.h:27
ada::encoding_type::UTF8
@ UTF8
Definition encoding_type.h:26
ada::encoding_type::UTF_16BE
@ UTF_16BE
Definition encoding_type.h:28
ada::to_string
ada_warn_unused std::string_view to_string(encoding_type type)
Definition implementation.cpp:70