public function serialize(): void
    {
        $voteBytes = [];

        foreach ($this->transaction['asset']['votes'] as $vote) {
            $voteBytes[] = '+' === substr($vote, 0, 1)
                ? '01'.substr($vote, 1)
                : '00'.substr($vote, 1);
        }

        $this->buffer->writeUInt8(count($this->transaction['asset']['votes']));
        $this->buffer->writeHexBytes(implode('', $voteBytes));
    }