Function nextCodepoint [src]
Prototype
pub fn nextCodepoint(it: *Utf8Iterator) ?u21
Parameters
it: *Utf8Iterator
Source
pub fn nextCodepoint(it: *Utf8Iterator) ?u21 {
const slice = it.nextCodepointSlice() orelse return null;
return utf8Decode(slice) catch unreachable;
}