In this tutorial you will see how to get the limit position and capacity of a character buffer. The given example illustrate the use of limit() method which returns the buffer's limit like wise capacity() and position() methods return capacity and position..
|position = 0 Limit = 5 capacity = 5|
Posted on: July 27, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles