Added check for endianess of .osga archives

This commit is contained in:
Robert Osfield
2004-11-10 21:18:31 +00:00
parent 67aa3792e5
commit 3523577235
3 changed files with 31 additions and 20 deletions

View File

@@ -102,7 +102,7 @@ class OSGDB_EXPORT Archive : public ReaderWriter
inline pos_type getPositionNextIndexBlock() const { return _filePositionNextIndexBlock; }
static IndexBlock* read(std::istream& in);
static IndexBlock* read(std::istream& in, bool doEndianSwap);
std::string getFirstFileName() const;