roo_io
API Documentation for roo_io
Loading...
Searching...
No Matches
roo_io::Utf8Decoder Class Reference

#include <unicode.h>

Public Member Functions

 Utf8Decoder (const byte *data, size_t size)
 
 Utf8Decoder (const char *data, size_t size)
 
template<size_t N>
 Utf8Decoder (const byte data[N])
 
template<size_t N>
 Utf8Decoder (const char data[N])
 
 Utf8Decoder (roo::string_view s)
 
const bytedata () const
 
bool next (char32_t &result)
 

Detailed Description

Definition at line 14 of file unicode.h.

Constructor & Destructor Documentation

◆ Utf8Decoder() [1/5]

roo_io::Utf8Decoder::Utf8Decoder ( const byte data,
size_t  size 
)
inline

Definition at line 18 of file unicode.h.

◆ Utf8Decoder() [2/5]

roo_io::Utf8Decoder::Utf8Decoder ( const char data,
size_t  size 
)
inline

Definition at line 22 of file unicode.h.

◆ Utf8Decoder() [3/5]

template<size_t N>
roo_io::Utf8Decoder::Utf8Decoder ( const byte  data[N])
inline

Definition at line 28 of file unicode.h.

◆ Utf8Decoder() [4/5]

template<size_t N>
roo_io::Utf8Decoder::Utf8Decoder ( const char  data[N])
inline

Definition at line 33 of file unicode.h.

◆ Utf8Decoder() [5/5]

roo_io::Utf8Decoder::Utf8Decoder ( roo::string_view  s)
inline

Definition at line 36 of file unicode.h.

Member Function Documentation

◆ data()

const byte * roo_io::Utf8Decoder::data ( ) const
inline

Definition at line 44 of file unicode.h.

◆ next()

bool roo_io::Utf8Decoder::next ( char32_t result)
inline

Definition at line 46 of file unicode.h.

References u8c::u8next_().


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