ArrayList
and not allowing any content change operationBufferedInputStream adds
functionality to another input stream-namely,
the ability to buffer the input and to
support the mark and reset
methods.BufferedInputStream
and saves its argument, the input stream
in, for later use.BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in, for later use.ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream.ByteArrayInputStream
so that it uses buf as its
buffer array.ByteArrayInputStream
that uses buf as its
buffer array.mark
method of InputStream.mark method before subsequent calls to the
reset method fail.pos field at the time the last
mark method was called.mark
and reset methods.InputStream supports mark/reset.read
method of InputStream.len bytes of data into an array of bytes
from this input stream.reset
method of InputStream.count field of this byte array output
stream to zero, so that all currently accumulated output in the
output stream is discarded.skip
method of InputStream.n bytes of input from this input stream.charsetName.toString(String enc) method, which takes an encoding-name
argument, or the toString() method, which uses the
platform's default character encoding.len bytes from the specified byte array
starting at offset off to this buffered output stream.len bytes from the specified byte array
starting at offset off to this byte array output stream.out.write(buf, 0, count).