c++20 Open Source header only binary serializer writen on top of standard cpp library
serialize vector, arrays, tuple fast, easily, and possibly asynchronously
vectors, arrays where the value_type is either trivially_copyable or has user defined fstream operators. tuple composed of serializable (has defined fstream operators) types
struct trivial_struct {
int a;
char b;
float c;
}
std::vector<trivial_struct> vec1 = {{1, 'a', .1f}, {2, 'b', .2f}, {3, 'c', .3f}};
fs::write("test2.bin", vec2);
auto future = fs::read_async("test2.bin");
auto vec2 = future.get(); // vec1 is the same as vec2
see tests for more examples