Code example for ByteBuffer

Methods: duplicate, limit, position, slice