public class ByteBufferCodecWriter extends Object implements CodecWriter
| 构造器和说明 |
|---|
ByteBufferCodecWriter(ByteBuffer target) |
public ByteBufferCodecWriter(ByteBuffer target)
public void putBytes(byte[] src)
putBytes 在接口中 CodecWriterpublic void putInt(int val)
putInt 在接口中 CodecWriterpublic void putChar(int val)
putChar 在接口中 CodecWriterpublic void flush()
throws IOException
flush 在接口中 CodecWriterIOExceptionpublic ByteBuffer getBuffer()
Copyright © 2024. All rights reserved.