Function utf8Decode3 [src]
Prototype
pub fn utf8Decode3(bytes: [3]u8) Utf8Decode3Error!u21
Parameters
bytes: [3]u8
Possible Errors
Source
pub fn utf8Decode3(bytes: [3]u8) Utf8Decode3Error!u21 {
const value = try utf8Decode3AllowSurrogateHalf(bytes);
if (0xd800 <= value and value <= 0xdfff) return error.Utf8EncodesSurrogateHalf;
return value;
}