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()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.