public class QpidByteBufferOutputStream extends OutputStream
| Constructor and Description |
|---|
QpidByteBufferOutputStream(boolean isDirect,
int maximumBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<QpidByteBuffer> |
fetchAccumulatedBuffers() |
void |
write(byte[] data) |
void |
write(byte[] data,
int offset,
int len) |
void |
write(int b) |
flushpublic QpidByteBufferOutputStream(boolean isDirect,
int maximumBufferSize)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] data)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] data,
int offset,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic Collection<QpidByteBuffer> fetchAccumulatedBuffers()
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.