- buffer
- the buffer containing the bytes to push back to this stream.
Type Reason Java.IO.IOException if the free space in the internal pushback buffer is not sufficient to store the contents of buffer.
Pushes all the bytes in buffer back to this stream. The bytes are pushed back in such a way that the next byte read from this stream is buffer[0], then buffer[1] and so on.
If this stream's internal pushback buffer cannot store the entire contents of buffer, an IOException is thrown. Parts of buffer may have already been copied to the pushback buffer when the exception is thrown.