ctdbVariantGetDataAsBase64
Gets the variant data as a base64 encoded ASCII string.
Declaration
CTDBRET ctdbDECL ctdbVariantGetDataAsBase64(pCTVARIANT pVariant, pTEXT buffer, pVRLEN pSize)
Parameters
- pVariant [IN] variant pointer
- buffer [OUT] pointer to output buffer
- pSize [IN/OUT] number of bytes in buffer
Return
Returns CTDBRET_OK on success, pSize is set tot he actual number of bytes used.
ctdbVariantGetDataAsHexString
Gets the variant data as Hexadecimal format ASCII string.
Declaration
CTDBRET ctdbDECL ctdbVariantGetDataAsHexString(pCTVARIANT pVariant, pTEXT buffer, pVRLEN pSize)
Parameters
- pVariant [IN] Variant pointer
- buffer [OUT] pointer to data
- pSize [IN/OUT] number of bytes in buffer
Return
Returns CTDBRET_OK on success, pSize is set to the actual number of bytes used.
ctdbVariantGetDefaultValueEncoding
Gets the default value encoding type for the specified variant.
Declaration
ct_variant_encoding ctdbDECL ctdbVariantGetDefaultValueEncoding(pCTVARIANT pVariant)
Parameters
- pVariant [IN] Pointer to the variant object
Return
Returns the default ct_variant_encoding for the variant's logical data type, or ct_encoding_invalid if pVariant is NULL.