Class UnsynchronizedByteArrayInputStream

java.lang.Object
java.io.InputStream
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

This is an alternative to ByteArrayInputStream which removes the synchronization overhead for non-concurrent access; as such this class is not thread-safe.

To build an instance, use UnsynchronizedByteArrayInputStream.Builder.

Since:
2.7
See Also: