FbxBase64Decoder Class Reference
 
 
 
FbxBase64Decoder Class Reference

#include <fbxbase64coder.h>


Class Description

This class decodes Base64 encoded data.

Definition at line 23 of file fbxbase64coder.h.

List of all members.

Public Member Functions

int  Decode (const void *pInBuffer, int pInSize, void *pOutBuffer, int pOutSize)
  Decodes the input buffer.
int  Decode (const char *pInBuffer, void *pOutBuffer, int pOutSize)
  Decodes the input buffer.

Member Function Documentation

int Decode ( const void *  pInBuffer,
int  pInSize,
void *  pOutBuffer,
int  pOutSize 
)

Decodes the input buffer.

Parameters:
pInBuffer the input buffer containing Base64 data.
pInSize the size of the input data in bytes (must be a multiple of 4)
pOutBuffer the destination buffer.
pOutSize the capacity of the output buffer in bytes.
Returns:
the number of bytes put in the output buffer, or -1 if the output buffer is too small, or contains invalid characters
int Decode ( const char *  pInBuffer,
void *  pOutBuffer,
int  pOutSize 
)

Decodes the input buffer.

Parameters:
pInBuffer the input buffer containing Base64 data; its length is computed using strlen().
pOutBuffer the destination buffer.
pOutSize the capacity of the output buffer in bytes.
Returns:
the number of bytes put in the output buffer.

The documentation for this class was generated from the following file: