@Deprecated public class SimpleIoBuffer extends Object implements IoBuffer
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
origBuffer
Deprecated.
|
Constructor and Description |
---|
SimpleIoBuffer(ByteBuffer origBuffer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
capacity()
Deprecated.
|
void |
clear()
Deprecated.
|
void |
flip()
Deprecated.
|
void |
free()
Deprecated.
|
ByteBuffer |
getByteBuffer()
Deprecated.
|
ByteBuffer[] |
getByteBuffers()
Deprecated.
|
boolean |
hasRemaining()
Deprecated.
|
boolean |
isDirect()
Deprecated.
|
int |
limit()
Deprecated.
|
void |
limit(int limit)
Deprecated.
|
void |
mark()
Deprecated.
|
ByteOrder |
order()
Deprecated.
|
void |
order(ByteOrder byteOrder)
Deprecated.
|
int |
position()
Deprecated.
|
void |
position(int pos)
Deprecated.
|
void |
put(byte b)
Deprecated.
|
void |
put(byte[] bytes)
Deprecated.
|
void |
put(ByteBuffer buff)
Deprecated.
|
void |
putInt(int i)
Deprecated.
|
void |
putLong(long l)
Deprecated.
|
void |
putShort(short s)
Deprecated.
|
int |
remaining()
Deprecated.
|
void |
reset()
Deprecated.
|
protected ByteBuffer origBuffer
public SimpleIoBuffer(ByteBuffer origBuffer)
public final ByteBuffer[] getByteBuffers()
getByteBuffers
in interface IoBuffer
public final boolean hasRemaining()
hasRemaining
in interface IoBuffer
public final void put(ByteBuffer buff)
public final ByteBuffer getByteBuffer()
getByteBuffer
in interface IoBuffer
public final void position(int pos)
Copyright © 2021. All rights reserved.