| 构造器和说明 |
|---|
CachedBufferAllocator.CachedIoBuffer(ByteBuffer origBuffer) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
capacity() |
void |
clear() |
void |
flip() |
void |
free() |
ByteBuffer |
getByteBuffer() |
ByteBuffer[] |
getByteBuffers() |
boolean |
hasRemaining() |
boolean |
isDirect() |
int |
limit() |
void |
limit(int limit) |
void |
mark() |
ByteOrder |
order() |
void |
order(ByteOrder byteOrder) |
int |
position() |
void |
position(int pos) |
void |
put(byte b) |
void |
put(byte[] bytes) |
void |
put(ByteBuffer buff) |
void |
putInt(int i) |
void |
putLong(long l) |
void |
putShort(short s) |
int |
remaining() |
void |
reset() |
public CachedBufferAllocator.CachedIoBuffer(ByteBuffer origBuffer)
public final ByteBuffer[] getByteBuffers()
getByteBuffers 在接口中 IoBufferpublic final boolean hasRemaining()
hasRemaining 在接口中 IoBufferpublic final void put(ByteBuffer buff)
public final ByteBuffer getByteBuffer()
getByteBuffer 在接口中 IoBufferCopyright © 2013. All Rights Reserved.