Szerkesztés

Megosztás a következőn keresztül:


ATL Encoding Reference

Encoding in a range of common Internet standards such as uuencode, hexadecimal, and UTF8 is supported by the code found in atlenc.h.

Functions

Function Use case
AtlGetHexValue Call this function to get the numeric value of a hexadecimal digit.
AtlHexDecode Decodes a string of data that has been encoded as hexadecimal text such as by a previous call to AtlHexEncode.
AtlHexDecodeGetRequiredLength Call this function to get the size in bytes of a buffer that could contain data decoded from a hex-encoded string of the specified length.
AtlHexEncode Call this function to encode some data as a string of hexadecimal text.
AtlHexEncodeGetRequiredLength Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
AtlUnicodeToUTF8 Call this function to convert a Unicode string to UTF-8.
BEncode Call this function to convert some data using the "B" encoding.
BEncodeGetRequiredLength Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
EscapeXML Call this function to convert characters that are unsafe for use in XML to their safe equivalents.
GetExtendedChars Call this function to get the number of extended characters in a string.
IsExtendedChar Call this function to find out if a given character is an extended character (less than 32, greater than 126, and not a tab, line feed or carriage return)
QEncode Call this function to convert some data using the "Q" encoding.
QEncodeGetRequiredLength Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
QPDecode Decodes a string of data that has been encoded in quoted-printable format such as by a previous call to QPEncode.
QPDecodeGetRequiredLength Call this function to get the size in bytes of a buffer that could contain data decoded from quoted-printable-encoded string of the specified length.
QPEncode Call this function to encode some data in quoted-printable format.
QPEncodeGetRequiredLength Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
UUDecode Decodes a string of data that has been uuencoded such as by a previous call to UUEncode.
UUDecodeGetRequiredLength Call this function to get the size in bytes of a buffer that could contain data decoded from a uuencoded string of the specified length.
UUEncode Call this function to uuencode some data.
UUEncodeGetRequiredLength Call this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.

See also

Concepts
ATL COM desktop components