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.

inline int AtlHexEncodeGetRequiredLength( 
   int nSrcLen  
) throw( );

Parameters

  • nSrcLen
    The number of bytes of data to be encoded.

Return Value

The number of characters required for a buffer that could hold encoded data of nSrcLen bytes.

Requirements

Header: atlenc.h

See Also

Reference

AtlHexDecodeGetRequiredLength

AtlHexEncode

AtlHexDecode

Other Resources

ATL Concepts

ATL COM Desktop Components

ATL Functions Alphabetical Reference