forked from rosebudai/OpenRCT2-Web
Move IStream, MemoryStream, FileStream into OpenRCT2 namespace
This commit is contained in:
1 parent
30376085cf
commit
83355e35cc
74 files changed
+828
-758
No files matched your search
@@ -34,7 +34,7 @@ protected:
|
||||
ASSERT_GT(encodedDataSize, sizeof(sawyercoding_chunk_header));
|
||||
|
||||
// Decode
|
||||
MemoryStream ms(encodedDataBuffer, encodedDataSize);
|
||||
OpenRCT2::MemoryStream ms(encodedDataBuffer, encodedDataSize);
|
||||
SawyerChunkReader reader(&ms);
|
||||
auto chunk = reader.ReadChunk();
|
||||
ASSERT_EQ(static_cast<uint8_t>(chunk->GetEncoding()), chdr_in.encoding);
|
||||
@@ -51,7 +51,7 @@ protected:
|
||||
auto chdr_in = reinterpret_cast<const sawyercoding_chunk_header*>(data);
|
||||
ASSERT_EQ(chdr_in->length, expectedLength);
|
||||
|
||||
MemoryStream ms(data, size);
|
||||
OpenRCT2::MemoryStream ms(data, size);
|
||||
SawyerChunkReader reader(&ms);
|
||||
auto chunk = reader.ReadChunk();
|
||||
ASSERT_EQ(static_cast<uint8_t>(chunk->GetEncoding()), chdr_in->encoding);
|
||||
|
||||
Reference in new issue
Block a user