code: @Override
      public void write(int b)
              throws IOException
      {
          if (closed) {
              throw new IOException("Stream is closed");
          }
          if (inputCursor >= inputBuffer.length) {
              compressInput();
          }
          inputBuffer[inputCursor++] = (byte) b;
      }
docs: /* (non-Javadoc)
  @see java.io.OutputStream#write(int)