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.

Syntax

      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

Active Template Library (ATL) Concepts
ATL COM Desktop Components
ATL Functions Alphabetical Reference
AtlHexDecode
AtlHexEncode
AtlHexEncodeGetRequiredLength