SECCTEBase::Decode

int SECCTEBase::Decode(BYTE* pInBuffer, int nInLength, BYTE* pOutBuffer = NULL, int nOutLength = -1)

Calling the Decode function will decode the encoded data provided in the pInBuffer parameter. Depending on the streaming mode, input data can be fed in one decode call or sequential calls. When the pOutBuffer parameter is NULL the decoded data is written to an internal buffer and can be obtained by a call to EndDecode.

Defined in: XMLCTEb64qp.h

Return Value

Returns the length in bytes of the decoded data.

Parameters

pInBuffer

Starting address of the input buffer.

nInLength

Length of the input buffer.

pOutBuffer = NULL

Address of the output buffer. If NULL, an internal buffer will be used.

nOutLength = -1

Length of the output buffer.

Comments

Pure virtual in SECCTEBase. Implementation provided in the SECBase64Encoder and SECQPEncoder classes.