jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
dfa_utf8_decode.hpp File Reference
#include <string>
#include <cstdint>
Include dependency graph for dfa_utf8_decode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 

Functions

std::string jau::dfa_utf8_decode (const uint8_t *buffer, const size_t buffer_size)
 Returns all valid consecutive UTF-8 characters within buffer in the range up to buffer_size or until EOS.
 
uint32_t jau::dfa_utf8_decode (uint32_t &state, uint32_t &codep, const uint32_t byte_value)
 

Variables

static constexpr const uint32_t jau::DFA_UTF8_ACCEPT = 0
 
static constexpr const uint32_t jau::DFA_UTF8_REJECT = 12