| 54 | } |
| 55 | |
| 56 | void EncodeToUtf16BE(std::ostream& stream, int ch) { |
| 57 | if (!SplitUtf16HighChar(stream, &EncodeToUtf16BE, ch)) { |
| 58 | stream << Byte(ch >> 8) << Byte(ch & 0xFF); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | void EncodeToUtf32LE(std::ostream& stream, int ch) { |
| 63 | stream << Byte(ch & 0xFF) << Byte((ch >> 8) & 0xFF) << Byte((ch >> 16) & 0xFF) |
nothing calls this directly
no test coverage detected