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.

inline int AtlHexDecodeGetRequiredLength( 
   int nSrcLen  
) throw( );

Parameters

  • nSrcLen
    The number of characters in the encoded string.

Return Value

The number of bytes required for a buffer that could hold a decoded string of nSrcLen characters.

Requirements

Header: atlenc.h

See Also

Reference

AtlHexDecode

AtlHexEncode

AtlHexEncodeGetRequiredLength

Other Resources

ATL Concepts

ATL COM Desktop Components

ATL Functions Alphabetical Reference