equal
deleted
inserted
replaced
46 } |
46 } |
47 |
47 |
48 void writeValue(std::ostream &output, const string_t &value) override { |
48 void writeValue(std::ostream &output, const string_t &value) override { |
49 std::string s = convertor.to_bytes(value); |
49 std::string s = convertor.to_bytes(value); |
50 integerType.writeValue(output, s.length()); |
50 integerType.writeValue(output, s.length()); |
51 output << s.c_str(); |
51 output << s; |
52 } |
52 } |
53 |
53 |
54 wstring toValue(const string_t &stringValue) override { |
54 wstring toValue(const string_t &stringValue) override { |
55 return stringValue; |
55 return stringValue; |
56 } |
56 } |