Open CASCADE Technology
7.7.0
|
Tool for encoding/decoding base64 stream. More...
#include <FSD_Base64.hxx>
Static Public Member Functions | |
static Standard_Size | Encode (char *theEncodedStr, const Standard_Size theStrLen, const Standard_Byte *theData, const Standard_Size theDataLen) |
Function encoding a buffer to base64 string. More... | |
static TCollection_AsciiString | Encode (const Standard_Byte *theData, const Standard_Size theDataLen) |
Function encoding a buffer to base64 string. More... | |
static Standard_Size | Decode (Standard_Byte *theDecodedData, const Standard_Size theDataLen, Standard_CString theEncodedStr, const Standard_Size theStrLen) |
Function decoding base64 string. More... | |
static Handle< NCollection_Buffer > | Decode (Standard_CString theStr, const Standard_Size theLen) |
Function decoding base64 string. More... | |
Tool for encoding/decoding base64 stream.
|
static |
Function decoding base64 string.
[out] | theDecodedData | the place for decoded data. If it is NULL just return the needed size. |
[in] | theDataLen | the length of the buffer theDecodedData in bytes. This value must not be less than value returned when theDecodedData is NULL. |
[in] | theEncodedStr | the input encoded string. |
[in] | theStrLen | the length of input encoded string. |
|
static |
Function decoding base64 string.
[in] | theStr | the input encoded string |
[in] | theLen | the length of input encoded string |
|
static |
Function encoding a buffer to base64 string.
[out] | theEncodedStr | the place for encoded string. Terminating null is not put. If it is NULL just return the needed size. |
[in] | theStrLen | the length of the buffer theEncodedStr in bytes. This value must not be less than value returned when theEncodedStr is NULL. |
[in] | theData | the input binary data. |
[in] | theDataLen | the length of input data in bytes. |
|
static |
Function encoding a buffer to base64 string.
[in] | theData | the input binary data |
[in] | theDataLen | the length of input data in bytes |