Direct-BT  2.3.1
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

 jau
 

Macros

#define DFA_UTF8_ACCEPT   0
 
#define DFA_UTF8_REJECT   12
 

Functions

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

Macro Definition Documentation

◆ DFA_UTF8_ACCEPT

#define DFA_UTF8_ACCEPT   0

Definition at line 31 of file dfa_utf8_decode.hpp.

◆ DFA_UTF8_REJECT

#define DFA_UTF8_REJECT   12

Definition at line 32 of file dfa_utf8_decode.hpp.