RTEMS 6.1-rc6
|
This header file provides the interfaces of the Base64 Encoding and Decoding. More...
#include <rtems/dev/io.h>
Go to the source code of this file.
Data Structures | |
struct | Base64_Decode_control |
Contains the base64 and base64url decoder control. More... | |
Enumerations | |
enum | Base64_Decode_state { BASE64_DECODE_STATE_0 , BASE64_DECODE_STATE_1 , BASE64_DECODE_STATE_2 , BASE64_DECODE_STATE_3 } |
Represents the base64 and base64url decoder state. | |
enum | Base64_Decode_status { BASE64_DECODE_SUCCESS , BASE64_DECODE_OVERFLOW , BASE64_DECODE_INVALID_INPUT } |
Represents the base64 and base64url decoder status. | |
Functions | |
int | _Base64_Encode (IO_Put_char put_char, void *arg, const void *src, size_t len, const char *wordbreak, int wordlen) |
Outputs the source buffer in base64 encoding. | |
int | _Base64url_Encode (IO_Put_char put_char, void *arg, const void *src, size_t len, const char *wordbreak, int wordlen) |
Outputs the source buffer in base64url encoding. | |
void | _Base64_Decode_initialize (Base64_Decode_control *self, uint8_t *target, size_t target_size) |
Initializes the base64 decoder. | |
Base64_Decode_status | _Base64_Decode (Base64_Decode_control *self, char ch) |
Decodes the character. | |
This header file provides the interfaces of the Base64 Encoding and Decoding.