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