Ada
2.9.2
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
encoding_type.h
Go to the documentation of this file.
1
5
#ifndef ADA_ENCODING_TYPE_H
6
#define ADA_ENCODING_TYPE_H
7
8
#include "
ada/common_defs.h
"
9
#include <string>
10
11
namespace
ada
{
12
19
enum class
encoding_type
{
20
UTF8
,
21
UTF_16LE
,
22
UTF_16BE
,
23
};
24
28
ada_warn_unused
std::string
to_string
(
encoding_type
type);
29
30
}
// namespace ada
31
32
#endif
// ADA_ENCODING_TYPE_H
common_defs.h
Common definitions for cross-platform compiler support.
ada_warn_unused
#define ada_warn_unused
Definition
common_defs.h:81
ada
Definition
ada_idna.h:13
ada::to_string
ada_warn_unused std::string to_string(encoding_type type)
Definition
implementation.cpp:69
ada::encoding_type
encoding_type
Definition
encoding_type.h:19
ada::encoding_type::UTF_16LE
@ UTF_16LE
ada::encoding_type::UTF8
@ UTF8
ada::encoding_type::UTF_16BE
@ UTF_16BE