载入中...
搜索中...
未找到
Utf8Validation.h 文件参考

Strict allocation-free UTF-8 validation. 更多...

#include "common/Export.h"
#include <cstdint>
#include <string_view>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

枚举

enum class  eve::Utf8NullPolicy : std::uint8_t { eve::Allow , eve::Reject }
 Policy for embedded U+0000 in otherwise valid UTF-8 text. 更多...
 

函数

bool eve::isValidUtf8 (std::string_view text, Utf8NullPolicy nullPolicy=Utf8NullPolicy::Allow) noexcept
 Validate shortest-form UTF-8, Unicode scalar range and optional NUL exclusion.
 

详细描述

Strict allocation-free UTF-8 validation.

在文件 Utf8Validation.h 中定义.