| 430 | |
| 431 | template<typename OutputStream> |
| 432 | static void EncodeUnsafe(OutputStream& os, unsigned codepoint) { |
| 433 | RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputStream::Ch) >= 4); |
| 434 | RAPIDJSON_ASSERT(codepoint <= 0x10FFFF); |
| 435 | PutUnsafe(os, codepoint); |
| 436 | } |
| 437 | |
| 438 | template <typename InputStream> |
| 439 | static bool Decode(InputStream& is, unsigned* codepoint) { |
nothing calls this directly
no test coverage detected