public class ByteArrayWriter extends Object implements BuffedWriter
| 构造器和说明 |
|---|
ByteArrayWriter(int blockSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
flushToTarget(boolean force) |
List<ByteBuffer> |
getBufferList() |
void |
writeBinary(byte byt) |
void |
writeBinary(byte[] bytes) |
void |
writeBinary(byte[] bytes,
int offset,
int length) |
public void writeBinary(byte byt)
throws IOException
writeBinary 在接口中 BuffedWriterIOExceptionpublic void writeBinary(byte[] bytes)
throws IOException
writeBinary 在接口中 BuffedWriterIOExceptionpublic void writeBinary(byte[] bytes,
int offset,
int length)
throws IOException
writeBinary 在接口中 BuffedWriterIOExceptionpublic void flushToTarget(boolean force)
throws IOException
flushToTarget 在接口中 BuffedWriterIOExceptionpublic List<ByteBuffer> getBufferList()
Copyright © 2020. All rights reserved.