Liquid XML Data Binder 2019
C++ SetBuffer - CBinaryData
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CBinaryData > C++ SetBuffer - CBinaryData
void SetBuffer(const LPBYTE lpData, DWORD len);
void SetBuffer(LPCTSTR lpctStr);
  Property Description  
    Method Name SetBuffer  
    Argument - lpData A pointer to the data to be placed into the class  
    Argument - len The number of bytes from lpData to be placed into the class  
    Argument - lpctStr A string to be placed into the class  
    Description Sets the content of the class  
    Remarks Any Existing content is deleted.
If the build is UNICODE then 2 bytes per char are used when when converting strings, if not then just the one.
 
    Example