public override void Read(BinaryReader file, uint size) { Buffer = new CBytes(cr2w, this, nameof(Buffer)) { Bytes = new byte[0], IsSerialized = true }; Buffer.Read(file, size); }
public override void Read(BinaryReader file, uint size) { id.Read(file, 2); guid.Read(file, 16); if (size != 0 && size - 18 > 0) { unk1.Read(file, size - 18); } }