![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Tool for encoding/decoding base64 stream. More...
#include <FSD_Base64.hxx>
Static Public Member Functions | |
| static size_t | Encode (char *theEncodedStr, const size_t theStrLen, const uint8_t *theData, const size_t theDataLen) |
| Function encoding a buffer to base64 string. | |
| static TCollection_AsciiString | Encode (const uint8_t *theData, const size_t theDataLen) |
| Function encoding a buffer to base64 string. | |
| static size_t | Decode (uint8_t *theDecodedData, const size_t theDataLen, const char *theEncodedStr, const size_t theStrLen) |
| Function decoding base64 string. | |
| static occ::handle< NCollection_Buffer > | Decode (const char *theStr, const size_t theLen) |
| Function decoding base64 string. | |
Tool for encoding/decoding base64 stream.
|
static |
Function decoding base64 string.
| [in] | theStr | the input encoded string |
| [in] | theLen | the length of input encoded string |
|
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 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 |