Code example for ByteBuffer

Methods: capacity, get, hasArray, position