public static class UnsynchronizedByteArrayOutputStream.Builder extends org.apache.commons.io.build.AbstractStreamBuilder<UnsynchronizedByteArrayOutputStream,UnsynchronizedByteArrayOutputStream.Builder>
UnsynchronizedByteArrayOutputStream instance.
Using File IO:
UnsynchronizedByteArrayOutputStream s = UnsynchronizedByteArrayOutputStream.builder()
.setBufferSize(8192)
.get();
Using NIO Path:
UnsynchronizedByteArrayOutputStream s = UnsynchronizedByteArrayOutputStream.builder()
.setBufferSize(8192)
.get();
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UnsynchronizedByteArrayOutputStream |
get()
Constructs a new instance.
|
getCharset, setBufferSize, setBufferSize, setCharset, setCharset, setOpenOptionssetByteArray, setCharSequence, setFile, setFile, setInputStream, setOutputStream, setPath, setPath, setReader, setURI, setWriterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSupplierpublic UnsynchronizedByteArrayOutputStream get()
This builder use the aspect buffer size.
AbstractOrigin.getByteArray()Copyright © 2010 - 2023 Adobe. All Rights Reserved