Code example for CharBuffer

Methods: capacity, position