Serialize() {
        const buf = new util_1.default.Writer();
        // Address (PublicKeyHash)
        {
            buf.write(this.address.Serialize());
        }
        // Quantity (uint64)
        {
            bytes_1.write(buf, this.quantity, 'uint64');
        }
        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.address.Serialize());
        }
        {
            bytes_1.write(buf, this.quantity, 'uint64');
        }
        return buf.buf;
    }
Serialize ( ) { const buf = new util_1 . default . Writer ( ) ; { buf . write ( this . address . Serialize ( ) ) ; } { bytes_1 . write ( buf , this . quantity , 'uint64' ) ; } return buf . buf ; }
Serialize returns the byte representation of the message.
Serialize returns the byte representation of the message .
// Address (PublicKeyHash) // Quantity (uint64)