|
int32_t | base64_decode (int8_t *text, uint8_t *dst, int32_t numBytes) |
|
int32_t | base64_encode (int8_t *text, int32_t numBytes, int8_t *encodedText) |
|
Base64 Codec. Base64 Utilities which is used at SMTP or something.
int32_t base64_decode |
( |
int8_t * |
text, |
|
|
uint8_t * |
dst, |
|
|
int32_t |
numBytes |
|
) |
| |
Decode string with base64 protocol. Normally, this is used for SMTP or something.
- Parameters
-
text | String to decode |
dst | The buffer in which decoded string will enter |
numBytes | Dst buffer size |
- Returns
- Decoded string size
Definition at line 366 of file util.c.
int32_t base64_encode |
( |
int8_t * |
text, |
|
|
int32_t |
numBytes, |
|
|
int8_t * |
encodedText |
|
) |
| |
Encode string with base64 protocol. Normally, this is used for SMTP or something.
- Parameters
-
text | String to encode |
numBytes | encodedText buffer size |
encodedText | The buffer in which encoded string will enter |
- Returns
- always return 0
Definition at line 418 of file util.c.