MT Core (C++)
Core library for replacing C++ standard in project usage
|
Iterates over runes of utf16 sequences Also handles flipping endianness to native endian. More...
#include <byte_endian.hpp>
Public Types | |
using | IterElem = char32_t |
using | IterElem |
Public Member Functions | |
Optional< char32_t > | next () |
Optional< Rune > | next () |
Gets the next Rune, if present. | |
Public Attributes | |
Slice< const char16_t > | data |
size_t | strIndex = 0 |
bool | reverseBom = false |
Slice< const char16_t > | data |
size_t | strIndex |
Iterates over runes of utf16 sequences Also handles flipping endianness to native endian.
Definition at line 939 of file byte_endian.hpp.
using mtcore::RuneIterator< char16_t >::IterElem |
Definition at line 873 of file byte_endian.hpp.
using mtcore::RuneIterator< char16_t >::IterElem = char32_t |
Definition at line 940 of file byte_endian.hpp.
|
inline |
Gets the next Rune, if present.
Definition at line 878 of file byte_endian.hpp.
|
inline |
Definition at line 945 of file byte_endian.hpp.
Slice<const char16_t> mtcore::RuneIterator< char16_t >::data |
Definition at line 874 of file byte_endian.hpp.
Slice<const char16_t> mtcore::RuneIterator< char16_t >::data |
Definition at line 941 of file byte_endian.hpp.
bool mtcore::RuneIterator< char16_t >::reverseBom = false |
Definition at line 943 of file byte_endian.hpp.
size_t mtcore::RuneIterator< char16_t >::strIndex |
Definition at line 875 of file byte_endian.hpp.
size_t mtcore::RuneIterator< char16_t >::strIndex = 0 |
Definition at line 942 of file byte_endian.hpp.