XmlCompression::compress

#include <DbXml.hpp>

bool XmlCompression::compress(
    XmlTransaction &txn, const XmlData &source, XmlData &dest) = 0

This function is called when data is placed in a container that has compression enabled. The function compresses the data from source into dest. The method should return true if compression was successful and false if not.

Parameters

txn

XmlTransaction The transaction used by the operation that is putting data into the container.

source

XmlData Contains the data to be compressed.

dest

XmlData The buffer for the compressed data returned by this method.

Class

XmlCompression

See Also

XmlCompression Methods