MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / throwMissingUtf8End

Function throwMissingUtf8End

source/core/StarUnicode.cpp:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void throwMissingUtf8End() {
11 throw UnicodeException("UTF-8 string missing trailing code units in utf8Length");
12}
13
14void throwInvalidUtf32CodePoint(Utf32Type val) {
15 throw UnicodeException::format("Invalid UTF-32 code point {} encountered while trying to encode UTF-8", (int32_t)val);

Callers 2

utf8LengthFunction · 0.85
utf8DecodeCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected