1#include "duckdb/common/serializer.hpp"
2
3using namespace duckdb;
4using namespace std;
5
6template <> string Deserializer::Read() {
7 uint32_t size = Read<uint32_t>();
8 auto buffer = unique_ptr<data_t[]>(new data_t[size]);
9 ReadData(buffer.get(), size);
10 return string((char *)buffer.get(), size);
11}
12