MCPcopy Create free account
hub / github.com/apache/fory / buffer_bytes

Function buffer_bytes

cpp/fory/serialization/serialization_test.cc:164–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TESTFunction · 0.85

Calls 2

writer_indexMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected