A simple binary data serialisation library