join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::utf8::details::SequenceTable Struct Reference

UTF-8 well-formed multibyte sequences indexed by lead byte. More...

#include <utf8.hpp>

Public Member Functions

constexpr SequenceTable ()
 create the lookup table.
 

Public Attributes

uint8_t data [256]
 
uint8_t lower [8]
 
uint8_t span [8]
 

Detailed Description

UTF-8 well-formed multibyte sequences indexed by lead byte.

Constructor & Destructor Documentation

◆ SequenceTable()

join::utf8::details::SequenceTable::SequenceTable ( )
inlineconstexpr

create the lookup table.

Member Data Documentation

◆ data

uint8_t join::utf8::details::SequenceTable::data[256]

length in bits 0-2, 0 if not a multibyte lead, range in bits 3-5.

◆ lower

uint8_t join::utf8::details::SequenceTable::lower[8]

lowest allowed second byte per range.

◆ span

uint8_t join::utf8::details::SequenceTable::span[8]

allowed second byte span per range.


The documentation for this struct was generated from the following file: