- export module Core.Unicode;
- export import Core.Types;
- export namespace Core {
- struct UTF8 {
- u8 data[4] = {0};
- u32 length = 0;
- };
- UTF8 convertUnicodeToUTF8(u32 c) noexcept;
- u32 convertUTF8toUnicode(UTF8 c) noexcept;
- bool isUTF8Remainder(u8 c) noexcept;
- u32 getUTF8Length(u8 c) noexcept;
- }
|