public function serialize(): void
    {
        $delegateBytes = bin2hex($this->transaction['asset']['delegate']['username']);

        $this->buffer->writeUInt8(strlen($delegateBytes) / 2);
        $this->buffer->writeHexBytes($delegateBytes);
    }