Ada
4.1.1
Fast spec-compliant URL parser
Toggle main menu visibility
Loading...
Searching...
No Matches
unicode_transcoding.h
Go to the documentation of this file.
1
#ifndef ADA_IDNA_UNICODE_TRANSCODING_H
2
#define ADA_IDNA_UNICODE_TRANSCODING_H
3
4
#include <string>
5
#include <string_view>
6
7
namespace
ada::idna
{
8
9
size_t
utf8_to_utf32
(
const
char
* buf,
size_t
len,
char32_t
* utf32_output);
10
11
size_t
utf8_length_from_utf32
(
const
char32_t
* buf,
size_t
len);
12
13
size_t
utf32_length_from_utf8
(
const
char
* buf,
size_t
len);
14
15
size_t
utf32_to_utf8
(
const
char32_t
* buf,
size_t
len,
char
* utf8_output);
16
17
}
// namespace ada::idna
18
19
#endif
// ADA_IDNA_UNICODE_TRANSCODING_H
ada::idna
Definition
identifier.h:7
ada::idna::utf32_length_from_utf8
size_t utf32_length_from_utf8(const char *buf, size_t len)
Definition
ada_idna.cpp:142
ada::idna::utf32_to_utf8
size_t utf32_to_utf8(const char32_t *buf, size_t len, char *utf8_output)
Definition
ada_idna.cpp:151
ada::idna::utf8_length_from_utf32
size_t utf8_length_from_utf32(const char32_t *buf, size_t len)
Definition
ada_idna.cpp:129
ada::idna::utf8_to_utf32
size_t utf8_to_utf32(const char *buf, size_t len, char32_t *utf32_output)
Definition
ada_idna.cpp:32