encoding()

Get the attribute's encoding, which indicates how to transform its raw value into a meaningful type.

Synopsis:

#include <qpps/variant.h>
 
QByteArray encoding() const;

Description:

Get the attribute's encoding, which indicates how to transform its raw value into a meaningful type. If the encoding is empty, the raw value is probably meant to be used as is.

Returns:

A QByteArray containing the attribute's encoding.