public final class ByteBufferOutputStream extends ByteArrayOutputStream
buf, count| Constructor and Description |
|---|
ByteBufferOutputStream() |
ByteBufferOutputStream(int size) |
ByteBufferOutputStream(OptionalInt size) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getBuffer()
Returns the internal buffer of this output stream.
|
close, reset, size, toByteArray, toString, toString, toString, write, write, writeToflush, writepublic ByteBufferOutputStream()
public ByteBufferOutputStream(OptionalInt size)
public ByteBufferOutputStream(int size)
public ByteBuffer getBuffer()
Copyright © 2022 JBoss by Red Hat. All rights reserved.