![]() |
Murl Engine API
Version 2018.3
|
Encoding / Decoding functions. More...
Functions | |
String | Murl::Util::EncodeBase64 (const String &dataIn) |
Encode a string to a Base64 character string. More... | |
String | Murl::Util::EncodeBase64 (const ConstData &dataIn) |
Encode a data object to a Base64 character string. More... | |
String | Murl::Util::EncodeBase64 (const void *dataIn, UInt64 byteSizeIn) |
Encode a memory block to a Base64 string. More... | |
Data | Murl::Util::DecodeBase64 (const String &dataIn) |
Decode a Base64 character string. More... | |
Data | Murl::Util::DecodeBase64 (const ConstData &dataIn) |
Decode Base64 characters from a data object. More... | |
Data | Murl::Util::DecodeBase64 (const void *dataIn, UInt64 byteSizeIn) |
Decode Base64 characters from a memory block. More... | |
Bool | Murl::Util::IsBase64 (const String &dataIn) |
Check if a string is Base64 encoded. More... | |
Bool | Murl::Util::IsBase64 (const ConstData &dataIn) |
Check if a data object is Base64 encoded. More... | |
Bool | Murl::Util::IsBase64 (const void *dataIn, UInt64 byteSizeIn) |
Check if a memory block is Base64 encoded. More... | |
String | Murl::Util::EncodeHex (const String &dataIn) |
Encode a string to a Hex character string. More... | |
String | Murl::Util::EncodeHex (const ConstData &dataIn) |
Encode a data object to a Hex character string. More... | |
String | Murl::Util::EncodeHex (const void *dataIn, UInt64 byteSizeIn) |
Encode a memory block to a Hex character string. More... | |
Data | Murl::Util::DecodeHex (const String &dataIn) |
Decode a Hex character string. More... | |
Data | Murl::Util::DecodeHex (const ConstData &dataIn) |
Decode Hex characters from a data object. More... | |
Data | Murl::Util::DecodeHex (const void *dataIn, UInt64 byteSizeIn) |
Decode Hex characters from a memory block. More... | |
UInt64 | Murl::Util::EncodeHex (const void *dataIn, UInt64 byteSizeIn, void *dataOut, UInt64 byteSizeOut) |
Encode a memory block to Hex characters. More... | |
UInt64 | Murl::Util::DecodeHex (const void *dataIn, UInt64 byteSizeIn, void *dataOut, UInt64 byteSizeOut) |
Decode Hex characters from a memory block. More... | |
String | Murl::Util::EncodeUrl (const String &source) |
Encode a string to a url character string (percentage encoding). More... | |
String | Murl::Util::DecodeUrl (const String &source) |
Decode a url character string (percentage encoding) to a string. More... | |
String | Murl::Util::EncodeXml (const String &source) |
Encode a string so that it can be used as an XML attribute value. More... | |
Encoding / Decoding functions.
Encode a string to a Base64 character string.
dataIn | The source string to encode. |
Encode a data object to a Base64 character string.
dataIn | The source data object to encode. |
Encode a memory block to a Base64 string.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the memory block. |
Decode a Base64 character string.
dataIn | The source Base64 character string to decode. |
Decode Base64 characters from a data object.
dataIn | The source data object to decode. |
Decode Base64 characters from a memory block.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the memory block. |
Check if a string is Base64 encoded.
dataIn | The source Base64 string. |
Check if a data object is Base64 encoded.
dataIn | The source Base64 data object. |
Check if a memory block is Base64 encoded.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the memory block. |
Encode a string to a Hex character string.
dataIn | The source string to encode. |
Encode a data object to a Hex character string.
dataIn | The source data object to encode. |
Encode a memory block to a Hex character string.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the memory block. |
Decode a Hex character string.
dataIn | The source Hex character string to decode. |
Decode Hex characters from a data object.
dataIn | The source data object to decode. |
Decode Hex characters from a memory block.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the memory block. |
UInt64 Murl::Util::EncodeHex | ( | const void * | dataIn, |
UInt64 | byteSizeIn, | ||
void * | dataOut, | ||
UInt64 | byteSizeOut | ||
) |
Encode a memory block to Hex characters.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the source memory block. |
dataOut | Pointer to the destination memory block. |
byteSizeOut | The byte size of the destination memory block. |
UInt64 Murl::Util::DecodeHex | ( | const void * | dataIn, |
UInt64 | byteSizeIn, | ||
void * | dataOut, | ||
UInt64 | byteSizeOut | ||
) |
Decode Hex characters from a memory block.
dataIn | Pointer to the source memory block. |
byteSizeIn | The byte size of the source memory block. |
dataOut | Pointer to the destination memory block. |
byteSizeOut | The byte size of the destination memory block. |
Encode a string to a url character string (percentage encoding).
source | The source string to encode. |
Decode a url character string (percentage encoding) to a string.
source | The source url character string to decode. |