(byte: number)
| 189 | } |
| 190 | |
| 191 | function isFirstByteOf4ByteChar(byte: number) { |
| 192 | return byte >> 3 === 30; // 11110xxx? |
| 193 | } |
| 194 | |
| 195 | function isFirstByteOf3ByteChar(byte: number) { |
| 196 | return byte >> 4 === 14; // 1110xxxx? |
no outgoing calls
no test coverage detected