Liquid XML Data Binder (C++, Java, VB6) / Reference / C++ / Reference / C++ LtXmlLib20::CBinaryData
In This Topic
    C++ LtXmlLib20::CBinaryData
    In This Topic
    LtXmlLib20::CBinaryData Class
    A class to hold binary data that is to be inserted into an XML document
    The class holds a pointer to a separate reference counted storage block, this allows the CBinaryData object to be copied by value without the overhead of copying the data contained within it. The storage block is shared until an instance of it attempts to make a change to it, at which time it is copied.
    (Basically don't worry about passing at around it its quite efficient!)
      Members Description  
        Append Appends data to the end of the existing data  
        CBinaryData Constructor  
        GetAsBase64 Gets the binary data as a base64 encoded sting  
        GetAsHexString Gets the binary data as a hex encoded sting  
        GetData Gets the data buffer  
        GetLength Gets the number of bytes held  
        operator= Copy Operator  
        operator== Compares this objects data with another objects  
        operator!= Compares this objects data with another objects  
        operator[] Allows read/write access to bytes held within the class  
        SetAsBase64String Sets a base64 encoded string into the buffer  
        SetAsHexString Sets a hex encoded string into the buffer  
        SetBuffer Sets a string into the buffer as a sequence of Ascii chars