src/Transactions/Serializers/Transfer.php
public function serialize(): void
    {
        $this->buffer->writeUInt64($this->transaction['amount']);
        $this->buffer->writeUInt32($this->transaction['expiration'] ?? 0);
        $this->buffer->writeHex(Base58::decodeCheck($this->transaction['recipientId'])->getHex());
    }
public function serialize(): void
    {
        $this->buffer->writeUInt64($this->transaction['amount']);
        $this->buffer->writeUInt32($this->transaction['expiration'] ?? 0);
        $this->buffer->writeHex(Base58::decodeCheck($this->transaction['recipientId'])->getHex());
    }
public function serialize ( ) : void { $ this -> buffer -> writeUInt64 ( $ this -> transaction [ 'amount' ] ) ; $ this -> buffer -> writeUInt32 ( $ this -> transaction [ 'expiration' ] ?? 0 ) ; $ this -> buffer -> writeHex ( Base58 :: decodeCheck ( $ this -> transaction [ 'recipientId' ] ) -> getHex ( ) ) ; }
Handle the serialization of "transfer" data.

@return string
Handle the serialization of transfer data .