Use the bulk put method of memory segment "put(ByteBuffer)"