public override void Decode() { using (var br = new CoCSharpPacketReader(new MemoryStream(GetData()))) { Subtick = br.ReadUInt32WithEndian(); Checksum = br.ReadUInt32WithEndian(); NumberOfCommands = br.ReadUInt32WithEndian(); if (NumberOfCommands > 0 && NumberOfCommands < 20) { NestedCommands = br.ReadBytes(GetLength()); } } }