public function unserialize($binary, $length)
    {
        list($r, $s) = str_split(unpack('H*', $binary)[1], $length);

        return new Signature(gmp_init($this->adapter->hexDec($r), 10), gmp_init($this->adapter->hexDec($s), 10));
    }
public function unserialize($binary, $length)
    {
        list($r, $s) = str_split(unpack('H*', $binary)[1], $length);

        return new Signature(gmp_init($this->adapter->hexDec($r), 10), gmp_init($this->adapter->hexDec($s), 10));
    }
public function unserialize ( $ binary , $ length ) { list ( $ r , $ s ) = str_split ( unpack ( 'H*' , $ binary ) [ 1 ] , $ length ) ; return new Signature ( gmp_init ( $ this -> adapter -> hexDec ( $ r ) , 10 ) , gmp_init ( $ this -> adapter -> hexDec ( $ s ) , 10 ) ) ; }
Serialize a binary string to a Signature

@param string $binary

@return Signature
Serialize a binary string to a Signature