| 162 | } |
| 163 | |
| 164 | inline std::vector<uint8_t> buffer_bytes(Buffer &buffer) { |
| 165 | return std::vector<uint8_t>(buffer.data(), |
| 166 | buffer.data() + buffer.writer_index()); |
| 167 | } |
| 168 | |
| 169 | template <typename T> |
| 170 | void test_roundtrip(const T &original, bool should_equal = true) { |
no test coverage detected