FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxBase64Decoder Class Reference

#include <fbxbase64coder.h>

Class Description

This class decodes Base64 encoded data.

Definition at line 23 of file fbxbase64coder.h.

Public Member Functions

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

Member Function Documentation

◆ Decode() [1/2]

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

Decodes the input buffer.

Parameters
pInBufferthe input buffer containing Base64 data.
pInSizethe size of the input data in bytes (must be a multiple of 4)
pOutBufferthe destination buffer.
pOutSizethe 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

◆ Decode() [2/2]

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

Decodes the input buffer.

Parameters
pInBufferthe input buffer containing Base64 data; its length is computed using strlen().
pOutBufferthe destination buffer.
pOutSizethe 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: