fbxsdk/fileio/fbxbase64coder.h Source File
 
 
 
fbxsdk/fileio/fbxbase64coder.h
Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2013 Autodesk, Inc.
00004    All rights reserved.
00005  
00006    Use of this software is subject to the terms of the Autodesk license agreement
00007    provided at the time of installation or download, or which otherwise accompanies
00008    this software in either electronic or hard copy form.
00009  
00010 ****************************************************************************************/
00011 
00013 #ifndef _FBXSDK_FILEIO_BASE64CODER_H_
00014 #define _FBXSDK_FILEIO_BASE64CODER_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/core/base/fbxstring.h>
00019 
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021 
00023 class FBXSDK_DLL FbxBase64Decoder
00024 {
00025 public:
00032     int Decode(const void* pInBuffer, int pInSize, void* pOutBuffer, int pOutSize);
00033 
00039     int Decode(const char* pInBuffer, void* pOutBuffer, int pOutSize);
00040 };
00041 
00043 class FBXSDK_DLL FbxBase64Encoder
00044 {
00045 public:
00052     int Encode(const void* pInBuffer, int pInSize, void* pOutBuffer, int pOutSize);
00053 
00059     int Encode(const void* pInBuffer, int pInSize, FbxString& pOutBuffer);
00060 };
00061 
00062 #include <fbxsdk/fbxsdk_nsend.h>
00063 
00064 #endif /* _FBXSDK_FILEIO_BASE64CODER_H_ */