|
rapidyaml
0.12.0
parse and emit YAML, and do it fast
|
utilities for UTF and Byte Order Mark More...
#include "c4/language.hpp"#include "c4/substr_fwd.hpp"#include "c4/export.hpp"#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Namespaces | |
| c4 | |
| (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message. | |
Functions | |
| substr | c4::skip_bom (substr s) |
| skip the Byte Order Mark, or get the full string if there is Byte Order Mark. More... | |
| csubstr | c4::skip_bom (csubstr s) |
| skip the Byte Order Mark, or get the full string if there is Byte Order Mark More... | |
| substr | c4::get_bom (substr s) |
| get the Byte Order Mark, or an empty string if there is no Byte Order Mark More... | |
| csubstr | c4::get_bom (csubstr s) |
| get the Byte Order Mark, or an empty string if there is no Byte Order Mark More... | |
| size_t | c4::first_non_bom (csubstr s) |
| return the position of the first character not belonging to the Byte Order Mark, or 0 if there is no Byte Order Mark. More... | |
| substr | c4::decode_code_point (substr out, csubstr code_point) |
decode the given code_point, writing into the output string in out. More... | |
| size_t | c4::decode_code_point (uint8_t *buf, size_t buflen, uint32_t code) |
decode the given code point, writing into the output string buf, of size buflen More... | |
utilities for UTF and Byte Order Mark
Definition in file utf.hpp.