public final class IoBuffer extends Object
| Modifier and Type | Method and Description |
|---|---|
static IoBuffer |
allocate(int capacity) |
static IoBuffer |
allocateDirect(int capacity) |
byte[] |
array() |
ByteBuffer |
buf() |
IoBuffer |
compact() |
IoBuffer |
duplicate() |
IoBuffer |
flip() |
byte |
get() |
IoBuffer |
get(byte[] dst) |
IoBuffer |
get(byte[] dst,
int offset,
int length) |
byte |
get(int index) |
int |
getInt() |
long |
getLong() |
short |
getShort() |
int |
limit() |
static void |
main(String[] args) |
IoBuffer |
mark() |
int |
position() |
IoBuffer |
position(int newPosition) |
IoBuffer |
put(byte value) |
IoBuffer |
put(byte[] src) |
IoBuffer |
put(byte[] src,
int offset,
int length) |
IoBuffer |
put(char c) |
IoBuffer |
put(int value) |
IoBuffer |
put(long value) |
IoBuffer |
put(short value) |
IoBuffer |
put(String value) |
int |
remaining() |
IoBuffer |
reset() |
IoBuffer |
rewind() |
String |
toString() |
IoBuffer |
unflip() |
static IoBuffer |
wrap(byte[] buf) |
static IoBuffer |
wrap(ByteBuffer buf) |
static IoBuffer |
wrap(String str) |
public static IoBuffer wrap(ByteBuffer buf)
public static IoBuffer wrap(byte[] buf)
public static IoBuffer allocate(int capacity)
public static IoBuffer allocateDirect(int capacity)
public byte[] array()
public byte get()
public IoBuffer get(byte[] dst)
public IoBuffer get(byte[] dst, int offset, int length)
public short getShort()
public int getInt()
public long getLong()
public IoBuffer put(byte value)
public IoBuffer put(byte[] src)
public IoBuffer put(byte[] src, int offset, int length)
public IoBuffer put(char c)
public IoBuffer put(short value)
public IoBuffer put(long value)
public IoBuffer put(int value)
public final IoBuffer flip()
public final byte get(int index)
public final IoBuffer unflip()
public final IoBuffer rewind()
public final int remaining()
public final IoBuffer mark()
public final IoBuffer reset()
public final int position()
public final IoBuffer position(int newPosition)
public final int limit()
public final IoBuffer duplicate()
public final IoBuffer compact()
public final ByteBuffer buf()
public static void main(String[] args)
Copyright © 2015. All rights reserved.