4#ifndef BITCOIN_UNIVALUE_INCLUDE_UNIVALUE_UTFFILTER_H
5#define BITCOIN_UNIVALUE_INCLUDE_UNIVALUE_UTFFILTER_H
31 }
else if (
ch < 0xf0) {
34 }
else if (
ch < 0xf8) {
40 if ((
ch & 0xc0) != 0x80)
Filter that generates and validates UTF-8, as well as collates UTF-16 surrogate pairs as specified in...
void push_back(unsigned char ch)
void push_back_u(unsigned int codepoint_)
void append_codepoint(unsigned int codepoint_)
JSONUTF8StringFilter(std::string &s)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.