Skip to content

This is a small implementation of base64 encode and decode functions designed for embedded systems. No dynamic memory is needed. However, a fair amount of static memory is needed for the lookup tables.

License

Notifications You must be signed in to change notification settings

0mhu/base64-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a small implementation of base64 encode and decode functions designed for embedded systems. No dynamic memory is needed. However, a fair amount of static memory is needed for the lookup tables.

Storage of the lookup tables can be adapted using the BASE64_LOOKUP_TABLE_SECTION define. If it is set, the lookup table will be moved to the section specified by the define. Example:

#define BASE64_LOOKUP_TABLE_SECTION ".bss"

This project is licensed under GPLv2.

Build Instructions

  • Go to build directory and execute cmake <path to this library>
  • Type make to build the static library object.
  • Type make execute-base64-test to build and run the tests

About

This is a small implementation of base64 encode and decode functions designed for embedded systems. No dynamic memory is needed. However, a fair amount of static memory is needed for the lookup tables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published