aboutsummaryrefslogtreecommitdiff
path: root/test/common/serializer.h
AgeCommit message (Collapse)Author
2009-05-26Renamed Common::Serializer::syncMagic to matchBytes, and added version ↵Max Horn
paarms to it (we migh want to add corresponding matchUint32LE etc. functions if needed) svn-id: r40909
2009-05-20fix warningMax Horn
svn-id: r40737
2009-05-19- FormattingJohannes Schickel
- Warning fixes - Rename "test_read_v2_as_v1" to "test_read_v1_as_v2", to match behavior svn-id: r40726
2009-05-19Improved Common::Serializer in several ways:Max Horn
* Added support versioned serialization * Added a convenience API for handling 'magic IDs' transparently * Exposed the err()/clearErr() methods of the underlying streams * Added a basic unit test for versioned loading (more should be added, in particular for saving) * Removed the syncString(char *, uint16) alias for syncBytes(byte *buf, uint32 size) svn-id: r40723