Class UnsynchronizedByteArrayInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class UnsynchronizedByteArrayInputStream
    extends java.io.InputStream
    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, see UnsynchronizedByteArrayInputStream.Builder.

    Since:
    2.7
    See Also:
    ByteArrayInputStream