126127128129130131132
if ((c & BYTES_3_MASK) == 0xE0) return 3; if ((c & BYTES_4_MASK) == 0xF0) return 4; // Any thing else in the first byte is invalid throw new UndecodableByteException(b); }