public override void Initialize(MobiHead mobiHeader, PDBHeader pdbHeader, List <byte[]> headerRecords) { try { var huffmanRecordOffset = (int)mobiHeader.HuffmanRecordOffset; var huffSect = headerRecords[huffmanRecordOffset]; loadHuff(huffSect); var recCount = (int)mobiHeader.HuffmanRecordCount; for (var i = 1; i < recCount; i++) { huffSect = headerRecords[huffmanRecordOffset + i]; LoadCdic(huffSect); } } catch (Exception ex) { throw new UnpackException("Error in HUFF/CDIC decompression: " + ex.Message + "\r\n" + ex.StackTrace); } }
public virtual void Initialize(MobiHead mobiHeader, PDBHeader pdbHeader, List <byte[]> headerRecords) { }