Serialize() {
        const buf = new util_1.default.Writer();
        // vote_tx_id (TxId)
        {
            buf.write(this.vote_tx_id.Serialize());
        }
        // vote (string)
        {
            bytes_1.WriteVarChar(buf, this.vote, 8);
        }
        return buf.buf;
    }
// serialize returns the full OP_RETURN payload bytes.
serialize returns the full OP_RETURN payload bytes.
serialize returns the full OP_RETURN payload bytes .
Serialize() {
        const buf = new util_1.default.Writer();
        {
            buf.write(this.vote_tx_id.Serialize());
        }
        {
            bytes_1.WriteVarChar(buf, this.vote, 8);
        }
        return buf.buf;
    }
Serialize ( ) { const buf = new util_1 . default . Writer ( ) ; { buf . write ( this . vote_tx_id . Serialize ( ) ) ; } { bytes_1 . WriteVarChar ( buf , this . vote , 8 ) ; } return buf . buf ; }
serialize returns the full OP_RETURN payload bytes.
serialize returns the full OP_RETURN payload bytes .
// vote_tx_id (TxId) // vote (string)