com.faunos.util.io
Class BufferUtil
java.lang.Object
com.faunos.util.io.BufferUtil
public class BufferUtil
- extends Object
java.nio.Buffer
utility.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final BufferUtil INSTANCE
BufferUtil
public BufferUtil()
getRemaining
public int getRemaining(Buffer[] buffers,
int off,
int end)
getRemaining
public int getRemaining(Buffer[] buffers,
int off)
getRemaining
public int getRemaining(Buffer[] buffers)
indexOfHasRemaining
public int indexOfHasRemaining(Buffer[] buffers,
int index)
indexOfHasRemaining
public int indexOfHasRemaining(Buffer[] buffers)
hasRemaining
public boolean hasRemaining(Buffer[] buffers)
asciiBuffer
public ByteBuffer asciiBuffer(CharSequence ascii)
asciiBuffer
public ByteBuffer asciiBuffer(CharSequence ascii,
boolean direct)
appendAscii
public void appendAscii(CharSequence ascii,
ByteBuffer out)