private void flushBuffer() throws IOException {
  if (_outputStream == null)   throw new IOException("Stream closed");
  _outputStream.write(_bytes,0,_index);
  _index=0;
}

private void flushBuffer ( ) throws IOException { if ( _outputStream == null ) throw new IOException ( "Stream closed" ) ; _outputStream . write ( _bytes , 0 , _index ) ; _index = 0 ; }
flushes the internal bytes buffer .
