public MetadataHeader(Reader reader) { this.memStream = reader.memStream; this.binaryParser = reader.binaryParser; uint metaDataRVA = reader.GetCLRHeader().GetMetaDataRVA(); this.metaDataHeaderAddress = (long)reader.RVAtoOffset(metaDataRVA); this.versionLength = (int)(binaryParser.ParseUInt32(metaDataHeaderAddress + 0xC)); }