public class ControlledByteBuffer
extends java.lang.Object
Constructor and Description |
---|
ControlledByteBuffer(java.nio.ByteBuffer byteBuffer) |
Modifier and Type | Method and Description |
---|---|
int |
capacity() |
void |
clear() |
void |
compact() |
void |
flip() |
void |
forceSetInputMode() |
byte |
get() |
java.nio.ByteBuffer |
get(byte[] dst,
int offset,
int length) |
java.nio.ByteBuffer |
getByteBuffer() |
boolean |
hasRemaining() |
boolean |
isInputMode() |
int |
position() |
void |
put(byte b) |
java.nio.ByteBuffer |
put(byte[] src,
int offset,
int length) |
void |
putInt(int value) |
int |
remaining() |
boolean |
setInputMode() |
boolean |
setOutputMode() |
public boolean isInputMode()
public java.nio.ByteBuffer getByteBuffer()
public boolean setInputMode()
public boolean setOutputMode()
public void forceSetInputMode()
public void flip()
public void clear()
public void compact()
public int position()
public int capacity()
public void put(byte b)
public void putInt(int value)
public java.nio.ByteBuffer put(byte[] src, int offset, int length)
public boolean hasRemaining()
public byte get()
public java.nio.ByteBuffer get(byte[] dst, int offset, int length)
public int remaining()
Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.