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.

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

Remarks

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

Requirements

Header: atlenc.h

See Also

Concepts

ATL Concepts

ATL Reference

ATL Functions Alphabetical Reference

QPDecode

QPDecodeGetRequiredLength

QPEncode