Go to the source code of this file.
|
| enum | Escaped { WC_STD_ENC = 0
, WC_ESC_NL_ENC
, WC_NO_NL_ENC
} |
| |
|
| WOLFSSL_API int | Base64_Encode (const byte *in, word32 inLen, byte *out, word32 *outLen) |
| | This function encodes the given input, in, and stores the Base64 encoded result in the output buffer out. It writes the data with the traditional ‘
’ line endings, instead of escaped %0A line endings. Upon successfully completing, this function also sets outLen to the number of bytes written to the output buffer.
|
| |
| WOLFSSL_API int | Base64_EncodeEsc (const byte *in, word32 inLen, byte *out, word32 *outLen) |
| | This function encodes the given input, in, and stores the Base64 encoded result in the output buffer out. It writes the data with %0A escaped line endings instead of ‘
’ line endings. Upon successfully completing, this function also sets outLen to the number of bytes written to the output buffer.
|
| |
| WOLFSSL_API int | Base64_Encode_NoNl (const byte *in, word32 inLen, byte *out, word32 *outLen) |
| | This function encodes the given input, in, and stores the Base64 encoded result in the output buffer out. It writes the data with no new lines. Upon successfully completing, this function also sets outLen to the number of bytes written to the output buffer.
|
| |
| WOLFSSL_API int | Base16_Decode (const byte *in, word32 inLen, byte *out, word32 *outLen) |
| | This function decodes the given Base16 encoded input, in, and stores the result in the output buffer out. It also sets the size written to the output buffer in the variable outLen.
|
| |
| WOLFSSL_API int | Base16_Encode (const byte *in, word32 inLen, byte *out, word32 *outLen) |
| | Encode input to base16 output.
|
| |
Initial value:{
#endif
WOLFSSL_API
int Base64_Decode(
const byte* in, word32 inLen,
byte* out,
word32* outLen)
WOLFSSL_API int Base64_Decode(const byte *in, word32 inLen, byte *out, word32 *outLen)
This function decodes the given Base64 encoded input, in, and stores the result in the output buffer ...
Definition coding.c:90