public static GetNodes ( Stream stream, int index ) : ReadOnlyCollection |
||
stream | Stream | |
index | int | |
return | ReadOnlyCollection |
public EngGridUpdatePacket(byte[] byteArray) { if (_log.IsInfoEnabled) { _log.InfoFormat("{0}--bytes in: {1}", MethodBase.GetCurrentMethod().ToString(), Utility.BytesToDebugString(byteArray)); } Systems = SystemNode.GetNodes(byteArray); int index = 0; foreach (SystemNode node in Systems) { index += node.DataLength; } DamageControlTeams = DamComStatus.GetDamComTeams(byteArray, ++index); if (_log.IsInfoEnabled) { _log.InfoFormat("{0}--Result bytes: {1}", MethodBase.GetCurrentMethod().ToString(), Utility.BytesToDebugString(this.GetBytes())); } }