private void decode1DRun(){
  while (!EOS) {
    if (isTerminating) {
      isTerminating=false;
      isWhite=!isWhite;
      if (isEndOfLine) {
        isEndOfLine=false;
        isWhite=true;
      }
    }
    final boolean pixelIsWhite=isWhite;
    final int pixelCount=getCodeWord();
    if (pixelCount > 0) {
      if (pixelIsWhite) {
        out.set(outPtr,(outPtr + pixelCount),true);
      }
      outPtr+=pixelCount;
    }
  }
}

private void decode1DRun ( ) { while ( ! EOS ) { if ( isTerminating ) { isTerminating = false ; isWhite = ! isWhite ; if ( isEndOfLine ) { isEndOfLine = false ; isWhite = true ; } } final boolean pixelIsWhite = isWhite ; final int pixelCount = getCodeWord ( ) ; if ( pixelCount > 0 ) { if ( pixelIsWhite ) { out . set ( outPtr , ( outPtr + pixelCount ) , true ) ; } outPtr += pixelCount ; } } }
work through a 1d block reading code words and creating uncompressed data
