Closeable
, AutoCloseable
Fields
protected byte[]
The circular buffer into which incoming data is placed.
protected int
The index of the position in the circular buffer at which the next byte of data will be stored when received from the connected piped output stream.
protected int
The index of the position in the circular buffer at which the next byte of data will be read by this piped input stream.
protected static final int
The default size of the pipe's circular input buffer.
Constructors
Creates a
PipedInputStream
so that it is not yet
connected.
Creates a
PipedInputStream
so that it is not yet
connectedand uses the specified pipe size for the pipe's buffer.
Creates a PipedInputStream
so that it is connected to the piped output stream src
.
Creates a PipedInputStream
so that it is connected to the piped output stream src
and uses the specified pipe size for the pipe's buffer.
int
Returns the number of bytes that can be read from this input stream without blocking.
void
Closes this input stream and releases any system resources associated with the stream.
void
Causes this piped input stream to be connected to the piped output stream src
.
int
Reads the next byte of data from this piped input stream.
int
read(byte[] b, int off, int len)
Reads up to len
bytes of data from this piped input stream into an array of bytes.
protected void
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
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