Code example for ByteBuffer

Methods: duplicate, position, put