KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Why does ByteBuffer's flip() method called "flip"? What is "flipped" here? According to apidoc, two successive flips won't restore original state, and multiple flips will probably tend limit() to become zero. Can I "unflip" somehow to reuse bytes went out of a limit? Can I concatenate tail to be flipped with some other data?
Tags (comma-separated)
Save Edits
Cancel