Compartir a través de


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.

Syntax

      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 (https://www.ietf.org/rfc/rfc2045.txt).

Requirements

Header: atlenc.h

See Also

Active Template Library (ATL) Concepts
ATL COM Desktop Components
ATL Functions Alphabetical Reference
QPDecode
QPEncode
QPEncodeGetRequiredLength