| 646 | } |
| 647 | |
| 648 | std::string unicode_byte_to_utf8(uint8_t byte) { |
| 649 | static std::unordered_map<uint8_t, std::string> map = unicode_byte_to_utf8_map(); |
| 650 | return map.at(byte); |
| 651 | } |
| 652 | |
| 653 | uint8_t unicode_utf8_to_byte(const std::string & utf8) { |
| 654 | static std::unordered_map<std::string, uint8_t> map = unicode_utf8_to_byte_map(); |
no test coverage detected