Liquid XML Data Binder 2020
Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / CBinaryData / C++ operators - CBinaryData
In This Topic
    C++ operators - CBinaryData
    In This Topic
    const BYTE& operator[](unsigned int index) const;
    BYTE& operator[](unsigned int index);
      Property Description  
        Method Name operator[]  
        Argument - index The 0 based index of the byte of data to retrieve (see GeLength for upper limit).  
        Description Allows a byte within the contained sequence to be accessed  
        Returns Returns a reference to the byte within the sequence  
        Remarks The non-const version can also be used to modify bytes within the sequence.
    The reference provided is only valid until the next non-const call is made to the class, if you are relying on the value of the data returned, then copy the bytes value, don't store it as a reference.
     
        Example