src/LZWEncoder.js
function flush_char(outs) {
    if (a_count > 0) {
      outs.writeByte(a_count);
      outs.writeBytes(accum, 0, a_count);
      a_count = 0;
    }
  }
function flush_char(outs) {
    if (a_count > 0) {
      outs.writeByte(a_count);
      outs.writeBytes(accum, 0, a_count);
      a_count = 0;
    }
  }
function flush_char ( outs ) { if ( a_count > 0 ) { outs . writeByte ( a_count ) ; outs . writeBytes ( accum , 0 , a_count ) ; a_count = 0 ; } }
Flush the packet to disk, and reset the accumulator
Flush the packet to disk and reset the accumulator