diff options
-rw-r--r-- | common/serializer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/serializer.h b/common/serializer.h index 24af9dc6f5..3727c277b3 100644 --- a/common/serializer.h +++ b/common/serializer.h @@ -86,6 +86,13 @@ public: } } + /** + * Sync a fixed length C-string + */ + void syncString(char *buf, uint16 size) { + syncBytes((byte *)buf, size); + } + void skip(uint32 size) { _bytesSynced += size; if (_loadStream) |