mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 09:17:29 +08:00
base64: Make base64 encoding tables public
This makes them reusable. Change the character type to uint8_t.
This commit is contained in:
@@ -54,6 +54,16 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Maps a 6-bit integer to the corresponding base64 encoding.
|
||||
*/
|
||||
extern const uint8_t _Base64_Encoding[ 64 ];
|
||||
|
||||
/**
|
||||
* @brief Maps a 6-bit integer to the corresponding base64url encoding.
|
||||
*/
|
||||
extern const uint8_t _Base64url_Encoding[ 64 ];
|
||||
|
||||
/**
|
||||
* @brief Outputs the source buffer in base64 encoding.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user