public class ByteArrayInputStream
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream. An internal counter keeps track of the next byte to be supplied by the read method.

Closing a ByteArrayInputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException.

extends InputStream

See also:
java.io.StringBufferInputStream

Since:  1.0