Switch Reserved from int to byte[]

This commit is contained in:
Max G 2019-01-31 04:53:28 -06:00 committed by GitHub
parent 50561460ac
commit e3408b8307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ namespace Roblox.BinaryFormat
public readonly byte[] CompressedData;
public readonly int Size;
public readonly int Reserved;
public readonly byte[] Reserved;
public readonly byte[] Data;
public bool HasCompressedData => (CompressedSize > 0);
@ -41,7 +41,7 @@ namespace Roblox.BinaryFormat
CompressedSize = reader.ReadInt32();
Size = reader.ReadInt32();
Reserved = reader.ReadInt32();
Reserved = reader.ReadBytes(4);
if (HasCompressedData)
{