code: @Override
      public AtomicValue evaluate() throws TTXPathException {
  
          // compute the function's result
          final byte[] value = computeResult();
  
          // create an atomic value, add it to the list and move the cursor to it.
          AtomicValue val = new AtomicValue(value, mReturnType);
          final int itemKey = getItemList().addItem(val);
          moveTo(itemKey);
          return val;
  
      }
docs: {@inheritDoc}