src/Transactions/Deserializer.php
public function handleType(int $assetOffset, Transaction $transaction): Transaction
    {
        $deserializer = $this->deserializers[$transaction->type];

        return (new $deserializer($this->buffer, $assetOffset, $transaction))->deserialize();
    }
public function handleType(int $assetOffset, Transaction $transaction): Transaction
    {
        $deserializer = $this->deserializers[$transaction->type];

        return (new $deserializer($this->buffer, $assetOffset, $transaction))->deserialize();
    }
public function handleType ( int $ assetOffset , Transaction $ transaction ) : Transaction { $ deserializer = $ this -> deserializers [ $ transaction -> type ] ; return ( new $ deserializer ( $ this -> buffer , $ assetOffset , $ transaction ) ) -> deserialize ( ) ; }
Handle the deserialization of transaction data.

@param int                              $assetOffset
@param \ArkEcosystem\Crypto\Transaction $transaction

@return \ArkEcosystem\Crypto\Transactions\Transaction
Handle the deserialization of transaction data .