Remove BinaryReader from MixFile.

This commit is contained in:
Paul Chote
2013-05-31 19:36:06 +12:00
parent 93b606da2c
commit 6edde6c4ac
2 changed files with 12 additions and 16 deletions

View File

@@ -30,11 +30,11 @@ namespace OpenRA.FileFormats
Length = length;
}
public PackageEntry(BinaryReader r)
public PackageEntry(Stream s)
{
Hash = r.ReadUInt32();
Offset = r.ReadUInt32();
Length = r.ReadUInt32();
Hash = s.ReadUInt32();
Offset = s.ReadUInt32();
Length = s.ReadUInt32();
}
public void Write(BinaryWriter w)