fn utf8ByteSequenceLength(first_byte: u8) !u3

Given the first byte of a UTF-8 codepoint, returns a number 1-4 indicating the total length of the codepoint in bytes. If this byte does not match the form of a UTF-8 start byte, returns Utf8InvalidStartByte.

Parameters

first_byte: u8,