Switch Reserved
from int to byte[]
This commit is contained in:
parent
50561460ac
commit
e3408b8307
@ -13,7 +13,7 @@ namespace Roblox.BinaryFormat
|
|||||||
public readonly byte[] CompressedData;
|
public readonly byte[] CompressedData;
|
||||||
|
|
||||||
public readonly int Size;
|
public readonly int Size;
|
||||||
public readonly int Reserved;
|
public readonly byte[] Reserved;
|
||||||
public readonly byte[] Data;
|
public readonly byte[] Data;
|
||||||
|
|
||||||
public bool HasCompressedData => (CompressedSize > 0);
|
public bool HasCompressedData => (CompressedSize > 0);
|
||||||
@ -41,7 +41,7 @@ namespace Roblox.BinaryFormat
|
|||||||
|
|
||||||
CompressedSize = reader.ReadInt32();
|
CompressedSize = reader.ReadInt32();
|
||||||
Size = reader.ReadInt32();
|
Size = reader.ReadInt32();
|
||||||
Reserved = reader.ReadInt32();
|
Reserved = reader.ReadBytes(4);
|
||||||
|
|
||||||
if (HasCompressedData)
|
if (HasCompressedData)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user