public class ZeroCopyByteArrayOutputStream extends ByteArrayOutputStream
buf, count
Constructor and Description |
---|
ZeroCopyByteArrayOutputStream() |
ZeroCopyByteArrayOutputStream(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
writeTo(ByteBuffer outputBuffer) |
void |
writeTo(WritableByteChannel channel) |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
public ZeroCopyByteArrayOutputStream()
public ZeroCopyByteArrayOutputStream(int capacity)
public void writeTo(ByteBuffer outputBuffer)
public void writeTo(WritableByteChannel channel) throws IOException
IOException
Copyright © 2011–2018. All rights reserved.