write(b) {
        const buf = new util_1.default.Reader(b);
        // entry_tx_id (TxId)
        {
            this.entry_tx_id = new protocol_types_1.TxId();
            this.entry_tx_id.Write(buf);
        }
        // message (string)
        {
            this.message = bytes_1.ReadVarChar(buf, 32);
        }
        return b.length - buf.length;
    }
// write populates the fields in Alteration from the byte slice
write populates the fields in Alteration from the byte slice
write populates the fields in Alteration from the byte slice
write(b) {
        const buf = new util_1.default.Reader(b);
        {
            this.entry_tx_id = new protocol_types_1.TxId();
            this.entry_tx_id.Write(buf);
        }
        {
            this.message = bytes_1.ReadVarChar(buf, 32);
        }
        return b.length - buf.length;
    }
write ( b ) { const buf = new util_1 . default . Reader ( b ) ; { this . entry_tx_id = new protocol_types_1 . TxId ( ) ; this . entry_tx_id . Write ( buf ) ; } { this . message = bytes_1 . ReadVarChar ( buf , 32 ) ; } return b . length - buf . length ; }
write populates the fields in Alteration from the byte slice
write populates the fields in Alteration from the byte slice
// entry_tx_id (TxId) // message (string)