aklomp / base64

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
BSD 2-Clause "Simplified" License
865 stars 162 forks source link

bin/base64: modernize the demo program #115

Closed aklomp closed 1 year ago

aklomp commented 1 year ago

The library has long contained a demo program, bin/base64.c, that gives a working demonstration of how the library could be used. The program intentionally mimics the behavior of GNU Coreutils base64.

This program is pretty old and is not as polished or well-written as it could be. Improve it in the following ways: