XmlData::set()

#include <DbXml.hpp>

void XmlData::set(void *data, size_t size)

Copies size bytes from data to the start of the underlying buffer, which will expand to fit the data if it is not a wrapper, otherwise an exception will be thrown. This method will change the size of the data.

Parameters

data

The data to be copied into the underlying buffer.

size

The number of bytes to copy.

Class

XmlData

See Also

XmlData Methods