RTEMS 6.3
Loading...
Searching...
No Matches
base64-encode.c File Reference

This source file contains the implementation of _Base64_Encode() and _Base64url_Encode(). More...

#include <rtems/base64.h>

Functions

int _Base64_Encode (IO_Put_char put_char, void *arg, const void *src, size_t srclen, 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 srclen, const char *wordbreak, int wordlen)
 Outputs the source buffer in base64url encoding.

Variables

const uint8_t _Base64_Encoding [64]
 Maps a 6-bit integer to the corresponding base64 encoding.
const uint8_t _Base64url_Encoding [64]
 Maps a 6-bit integer to the corresponding base64url encoding.

Detailed Description

This source file contains the implementation of _Base64_Encode() and _Base64url_Encode().