| 54 | }; |
| 55 | |
| 56 | UInt32 decode(UInt8 byte) |
| 57 | { |
| 58 | UInt32 type = TABLE[byte]; |
| 59 | codepoint = (state != ACCEPT) ? (byte & 0x3fu) | (codepoint << 6) : (0xff >> type) & (byte); |
| 60 | state = TABLE[256 + state * 16 + type]; |
| 61 | return state; |
| 62 | } |
| 63 | |
| 64 | void reset() |
| 65 | { |
no outgoing calls