src/Transactions/Serializers/DelegateRegistration.php
public function serialize(): void
    {
        $delegateBytes = bin2hex($this->transaction['asset']['delegate']['username']);

        $this->buffer->writeUInt8(strlen($delegateBytes) / 2);
        $this->buffer->writeHexBytes($delegateBytes);
    }
public function serialize(): void
    {
        $delegateBytes = bin2hex($this->transaction['asset']['delegate']['username']);

        $this->buffer->writeUInt8(strlen($delegateBytes) / 2);
        $this->buffer->writeHexBytes($delegateBytes);
    }
public function serialize ( ) : void { $ delegateBytes = bin2hex ( $ this -> transaction [ 'asset' ] [ 'delegate' ] [ 'username' ] ) ; $ this -> buffer -> writeUInt8 ( strlen ( $ delegateBytes ) / 2 ) ; $ this -> buffer -> writeHexBytes ( $ delegateBytes ) ; }
Handle the serialization of "vote" data.

@return string
Handle the serialization of vote data .