a C++ library for reading and writing binary files following a given format definition