public class ByteBufferHolder extends Object
ByteBuffer
that remembers if the buffer has been
flipped or not.Constructor and Description |
---|
ByteBufferHolder(ByteBuffer buf,
boolean flipped) |
public ByteBufferHolder(ByteBuffer buf, boolean flipped)
public ByteBuffer getBuf()
public boolean isFlipped()
public boolean flip()
public boolean hasData()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.