| 53 | |
| 54 | template <class T> |
| 55 | static std::vector<char> msgpack_buffer(const T& src) |
| 56 | { |
| 57 | std::stringstream buffer; |
| 58 | write_msgpack(buffer, src); |
| 59 | buffer.seekg(0); |
| 60 | std::string str = buffer.str(); |
| 61 | return std::vector<char>(str.data(), str.data() + str.size()); // NOLINT |
| 62 | } |
| 63 | |
| 64 | TEST_CASE(test_msgpack_empty_value) |
| 65 | { |
no test coverage detected