Closeable
, AutoCloseable
Fields
protected byte[]
protected int
The position within the pushback buffer from which the next byte will be read.
Constructors
Creates a PushbackInputStream
with a 1-byte pushback buffer, and saves its argument, the input stream in
, for later use.
Creates a PushbackInputStream
with a pushback buffer of the specified size
, and saves its argument, the input stream in
, for later use.
int
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
void
Closes this input stream and releases any system resources associated with the stream.
void
Marks the current position in this input stream.
boolean
Tests if this input stream supports the mark
and reset
methods, which it does not.
int
Reads the next byte of data from this input stream.
int
read(byte[] b, int off, int len)
Reads up to len
bytes of data from this input stream into an array of bytes.
void
Repositions this stream to the position at the time the mark
method was last called on this input stream.
long
Skips over and discards n
bytes of data from this input stream.
void
Pushes back an array of bytes by copying it to the front of the pushback buffer.
void
unread(byte[] b, int off, int len)
Pushes back a portion of an array of bytes by copying it to the front of the pushback buffer.
void
Pushes back a byte by copying it to the front of the pushback buffer.
Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4