Ejemplo n.º 1
0
 public function decodeBytes($bytes)
 {
     return parent::decode(bin2hex($bytes));
 }
Ejemplo n.º 2
0
 /**
  * Decodes a binary representation of a GUID into a UuidInterface object instance
  *
  * @param string $bytes
  * @return UuidInterface
  */
 public function decodeBytes($bytes)
 {
     // Specifically call parent::decode to preserve correct byte order
     return parent::decode(bin2hex($bytes));
 }