private static bool TryReadCodePointByte(byte nextByte, ref UnicodeCodePoint codePoint) { uint current = nextByte; if ((current & b1100_0000U) != b1000_0000U) return false; codePoint = new UnicodeCodePoint((codePoint.Value << 6) | (b0011_1111U & current)); return true; }