private List<Tdf> DecodeStruct()
{
// weird Tdf check #2: GameReporting::SubmitTrustedMidGameReport
if (_data[_stream.Position] == 0x00)
{
_stream.ReadByte();
_stream.ReadByte();
return null;
}
var data = new List<Tdf>();
while (_data[_stream.Position] != 0x00)
{
data.Add(ReadTdf());
}
// read end byte
_stream.ReadByte();
return data;
}