A small Base64 encoding/decoding library written with a focus on code quality.
  • C 95.6%
  • Makefile 4.4%
Find a file
2024-04-29 18:57:30 -04:00
include Add nopadding encoding fns 2024-01-11 02:31:12 -05:00
src Fix decoded_len padding handling 2024-04-29 18:56:03 -04:00
.gitignore Add build info to README, create include dir 2024-01-08 16:25:15 -05:00
Makefile Add build info to README, create include dir 2024-01-08 16:25:15 -05:00
README.md Update README repo URL 2024-02-09 22:46:17 -05:00
UNLICENSE Add UNLICENSE 2024-01-08 16:30:54 -05:00

b64

A small Base64 encoding/decoding library written with a focus on code quality.

Building and Linking

make

b64 can be consumed by running make to build a static archive at b64.a. Alternatively, src/base64.c itself (122 SLOC) can be easily added to any project. Add b64/include to your include path and #include <base64.h>. A runnable demo can be built with make demo.

Project Inclusion

b64 can be added to any Git-managed project as a submodule.

git submodule add https://github.com/very-amused/b64 b64

Intellisense (clangd)

make clean; bear -- make