//=========== READING ============ #region Reading /** <summary> Reads the group info. </summary> */ public void Read(BinaryReader reader) { this.Flags = (GroupInfoFlags)reader.ReadUInt32(); this.FileName = ""; for (int i = 0; i < 8; i++) { char c = (char)reader.ReadByte(); if (c != ' ' && c != '\0') { this.FileName += c; } } this.CheckSum = reader.ReadUInt32(); }
//========= CONSTRUCTORS ========= #region Constructors /** <summary> Constructs the default group info. </summary> */ public GroupInfo() { this.Flags = GroupInfoFlags.None; this.FileName = ""; this.CheckSum = 0; }
//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the default group info.</summary>*/ public GroupInfo() { Flags = GroupInfoFlags.None; FileName = ""; CheckSum = 0; }