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, setOpenOptions
setByteArray, setCharSequence, setFile, setFile, setInputStream, setOutputStream, setPath, setPath, setReader, setURI, setWriter
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asSupplier
public UnsynchronizedByteArrayOutputStream get()
This builder use the aspect buffer size.
AbstractOrigin.getByteArray()
Copyright © 2010 - 2023 Adobe. All Rights Reserved