Package java.io
Class PushbackInputStream
void unread(byte[] buf)
Throws:
void unread(byte[] buf, int offset, int len)
Throws:
void unread(int b)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
unread(byte[] buf) method:
This method pushes back an array of bytes by copying it to the front of the pushback buffer. After this method returns, the next byte to be read will have the value buf[0], the byte after that will have the value buf[1], and so froth.
unread(byte[] buf, int offset, int len) method:
This method pushes back a portion of an array of bytes by copying it to the front of the pushback buffer. After this method returns, the next byte to be read will have the value buf[off], the byte after that will have the value buf[off+1], and so forth.
unread(int b) method:
This method pushes back a byte by copying it to the front of the pushback buffer. After this method returns, the next byte to be read will have the value (byte)b.