(codePoint, shift)
| 6383 | /*--------------------------------------------------------------------------*/ |
| 6384 | |
| 6385 | function createByte(codePoint, shift) { |
| 6386 | return stringFromCharCode(((codePoint >> shift) & 0x3F) | 0x80); |
| 6387 | } |
| 6388 | |
| 6389 | function encodeCodePoint(codePoint) { |
| 6390 | if ((codePoint & 0xFFFFFF80) == 0) { // 1-byte sequence |