throws java.io.IOException
Clears the current contents of the buffer. Unlike clear(), this method will not throw an IOException if the buffer has already been flushed. It merely clears the current content of the buffer and returns.Throws:java.io.IOException - If an I/O error occurs