Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Namespaces | Macros | Functions
dfa_utf8_decode.hpp File Reference
#include <string>
#include <cstdint>
#include <cinttypes>
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.
 

Macros

#define DFA_UTF8_ACCEPT   0
 
#define DFA_UTF8_REJECT   12
 

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. More...
 
uint32_t jau::dfa_utf8_decode (uint32_t &state, uint32_t &codep, const uint32_t byte_value)
 

Macro Definition Documentation

◆ DFA_UTF8_ACCEPT

#define DFA_UTF8_ACCEPT   0

Definition at line 30 of file dfa_utf8_decode.hpp.

◆ DFA_UTF8_REJECT

#define DFA_UTF8_REJECT   12

Definition at line 31 of file dfa_utf8_decode.hpp.