internal DBIModuleInfo(Byte[] array, ref Int32 idx, Encoding encoding) { this.opened = array.ReadInt32LEFromBytes(ref idx); this.section = new DBISecCon(array, ref idx); this.flags = array.ReadUInt16LEFromBytes(ref idx); this.stream = array.ReadUInt16LEFromBytes(ref idx); this.symbolByteCount = array.ReadInt32LEFromBytes(ref idx); this.oldLinesByteCount = array.ReadInt32LEFromBytes(ref idx); this.linesByteCount = array.ReadInt32LEFromBytes(ref idx); this.files = array.ReadUInt16LEFromBytes(ref idx); idx += 2; this.offsets = array.ReadUInt32LEFromBytes(ref idx); this.sourceIdx = array.ReadInt32LEFromBytes(ref idx); this.compilerIdx = array.ReadInt32LEFromBytes(ref idx); this.moduleName = array.ReadZeroTerminatedStringFromBytes(ref idx, encoding); this.objectName = array.ReadZeroTerminatedStringFromBytes(ref idx, encoding); }
internal DBIModuleInfo(String modName) { this.moduleName = modName ?? String.Empty; this.section = new DBISecCon(); }