Class UnsynchronizedByteArrayOutputStream.Builder

All Implemented Interfaces:
IOSupplier<UnsynchronizedByteArrayOutputStream>
Enclosing class:
UnsynchronizedByteArrayOutputStream

Builds a new UnsynchronizedByteArrayOutputStream.

Using File IO:

UnsynchronizedByteArrayOutputStream s = UnsynchronizedByteArrayOutputStream.builder()
  .setBufferSize(8192)
  .get();

Using NIO Path:

UnsynchronizedByteArrayOutputStream s = UnsynchronizedByteArrayOutputStream.builder()
  .setBufferSize(8192)
  .get();
Since:
2.7
See Also: