Serialize() {
        const buf = new util_1.default.Writer();
        // FieldIndex (uint8)
        {
            bytes_1.write(buf, this.field_index, 'uint8');
        }
        // Element (uint16)
        {
            bytes_1.write(buf, this.element, 'uint16');
        }
        // SubfieldIndex (uint8)
        {
            bytes_1.write(buf, this.subfield_index, 'uint8');
        }
        // SubfieldElement (uint16)
        {
            bytes_1.write(buf, this.subfield_element, 'uint16');
        }
        // Operation (uint8)
        {
            bytes_1.write(buf, this.operation, 'uint8');
        }
        // Data ([]byte)
        {
            bytes_1.WriteVarBin(buf, this.data, 32);
        }
        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();
        {
            bytes_1.write(buf, this.field_index, 'uint8');
        }
        {
            bytes_1.write(buf, this.element, 'uint16');
        }
        {
            bytes_1.write(buf, this.subfield_index, 'uint8');
        }
        {
            bytes_1.write(buf, this.subfield_element, 'uint16');
        }
        {
            bytes_1.write(buf, this.operation, 'uint8');
        }
        {
            bytes_1.WriteVarBin(buf, this.data, 32);
        }
        return buf.buf;
    }
Serialize ( ) { const buf = new util_1 . default . Writer ( ) ; { bytes_1 . write ( buf , this . field_index , 'uint8' ) ; } { bytes_1 . write ( buf , this . element , 'uint16' ) ; } { bytes_1 . write ( buf , this . subfield_index , 'uint8' ) ; } { bytes_1 . write ( buf , this . subfield_element , 'uint16' ) ; } { bytes_1 . write ( buf , this . operation , 'uint8' ) ; } { bytes_1 . WriteVarBin ( buf , this . data , 32 ) ; } return buf . buf ; }
Serialize returns the byte representation of the message.
Serialize returns the byte representation of the message .
// FieldIndex (uint8) // Element (uint16) // SubfieldIndex (uint8) // SubfieldElement (uint16) // Operation (uint8) // Data ([]byte)