public class ByteArrayWriter extends Object implements BuffedWriter
| Constructor and Description |
|---|
ByteArrayWriter(int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushToTarget(boolean force) |
List<ByteBuffer> |
getBufferList() |
void |
reset() |
void |
writeBinary(byte byt) |
void |
writeBinary(byte[] bytes) |
void |
writeBinary(byte[] bytes,
int offset,
int length) |
public void writeBinary(byte byt)
throws IOException
writeBinary in interface BuffedWriterIOExceptionpublic void writeBinary(byte[] bytes)
throws IOException
writeBinary in interface BuffedWriterIOExceptionpublic void writeBinary(byte[] bytes,
int offset,
int length)
throws IOException
writeBinary in interface BuffedWriterIOExceptionpublic void flushToTarget(boolean force)
throws IOException
flushToTarget in interface BuffedWriterIOExceptionpublic List<ByteBuffer> getBufferList()
public void reset()
Copyright © 2021. All rights reserved.