Code example for ByteBuffer

Methods: asReadOnlyBuffer, getInt, limit, position