Library for structured binary data I/O