Beispiel #1
0
 /**
  * @param string $encoded
  * @return bool
  */
 public function hasEncoded($encoded)
 {
     return substr($encoded, 0, 1) == self::MARKER && $this->inner->hasEncoded(base64_decode(substr($encoded, 1)));
 }
 /**
  * @param string $encoded
  * @return bool
  */
 public function hasEncoded($encoded)
 {
     return substr($encoded, 0, 2) == self::MARKER && $this->inner->hasEncoded(hex2bin(substr($encoded, 2)));
 }