mdict-parser.js
function read_key_block(scanner, kdx) {
      var scanner = scanner.readBlock(kdx.comp_size, kdx.decomp_size);
      for (var i = 0; i < kdx.num_entries; i++) {
//        scanner.readNum(); scanner.readText();
        var kk = [scanner.readNum(), scanner.readText()];
      }
    }
function read_key_block(scanner, kdx) {
      var scanner = scanner.readBlock(kdx.comp_size, kdx.decomp_size);
      for (var i = 0; i < kdx.num_entries; i++) {
//        scanner.readNum(); scanner.readText();
        var kk = [scanner.readNum(), scanner.readText()];
      }
    }
Read keyword entries inside a keyword block and fill KEY_TABLE.
@param scanner scanner object to read key entries, which starts at begining of target key block
@param kdx corresponding keyword index object
NOTE: no need to read keyword block anymore, for debug only.