- *wc = (((wchar_t) input[0] & 0x01) << 30) |
- (((wchar_t) input[1] & 0x3f) << 24) |
- (((wchar_t) input[2] & 0x3f) << 18) |
- (((wchar_t) input[3] & 0x3f) << 12) |
- (((wchar_t) input[4] & 0x3f) << 6) |
- ((wchar_t) input[5] & 0x3f);
- return input + 6;