Serialize() {
        const buf = new util_1.default.Writer();
        // TxId (TxId)
        {
            buf.write(this.tx_id.Serialize());
        }
        // OutputIndex (uint32)
        {
            bytes_1.write(buf, this.output_index, 'uint32');
        }
        return buf.buf;
    }
// Serialize returns the byte representation of the message.
Serialize returns the byte representation of the message.
Serialize returns the byte representation of the message .
Serialize() {
        const buf = new util_1.default.Writer();
        {
            buf.write(this.tx_id.Serialize());
        }
        {
            bytes_1.write(buf, this.output_index, 'uint32');
        }
        return buf.buf;
    }
Serialize ( ) { const buf = new util_1 . default . Writer ( ) ; { buf . write ( this . tx_id . Serialize ( ) ) ; } { bytes_1 . write ( buf , this . output_index , 'uint32' ) ; } return buf . buf ; }
Serialize returns the byte representation of the message.
Serialize returns the byte representation of the message .
// TxId (TxId) // OutputIndex (uint32)