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

#include <fbxbase64coder.h>

Class Description

This class encodes data in the Base64 format.

Definition at line 43 of file fbxbase64coder.h.

Public Member Functions

int Encode (const void *pInBuffer, int pInSize, void *pOutBuffer, int pOutSize)
 Encodes the input buffer. More...
 
int Encode (const void *pInBuffer, int pInSize, FbxString &pOutBuffer)
 Encodes the input buffer. More...
 

Member Function Documentation

◆ Encode() [1/2]

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

Encodes the input buffer.

Parameters
pInBufferthe input buffer containing data.
pInSizethe size of the input data in bytes.
pOutBufferthe destination buffer, receives data encoded in Base64.
pOutSizethe capacity of the output buffer in bytes, which should be at least 33% larger than the input buffer size, or 4 bytes whichever is more.
Returns
the number of bytes put in the output buffer, or -1 if we ran out of room.

◆ Encode() [2/2]

int Encode ( const void *  pInBuffer,
int  pInSize,
FbxString pOutBuffer 
)

Encodes the input buffer.

Parameters
pInBufferthe input buffer containing data.
pInSizethe size of the input data in bytes.
pOutBufferthe destination buffer; data is set, not appended.
Returns
the number of bytes put in the output buffer.

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