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