db: add a "bytes" type, corresponding to ByteBuffer (serialized values)

Using sstring can lead to confusion with UTF8 strings.
This commit is contained in:
Avi Kivity
2014-12-24 12:08:38 +02:00
parent 8336a52b8f
commit 26461bee58

View File

@@ -16,6 +16,8 @@
#include <vector>
#include <iostream>
using bytes = basic_sstring<uint8_t, uint32_t, 31>;
struct row {
std::vector<boost::any> cells;
};