/// <summary> /// Actually write the line buffer contents to the destination output stream. /// /// After calling this function the line buffer is reset, so the contents of the buffer can be reused /// </summary> /// <exception cref="IOException"> </exception> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: private void flushBuffer() throws IOException private void flushBuffer() { writer.flush(); OutputStream.write(lineBuffer.toByteArray()); lineBuffer.reset(); }