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.

inline int QPDecodeGetRequiredLength( 
   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.

Remarks

The quoted-printable encoding scheme is described in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).

Requirements

Header: atlenc.h

See Also

Reference

QPDecode

QPEncode

QPEncodeGetRequiredLength

Other Resources

Active Template Library (ATL) Concepts

ATL COM Desktop Components

ATL Functions Alphabetical Reference