code: public function loadCallback(string $value = null)
      {
          return null === $value ? null : trim(\base64_encode($value), '=');
      }
docs: Base64 encode.
  
  @param string|null $value The value.
  
  @return string|null