Encoding and decoding functions for RFC 4648 compliant base-64. The code is written in standard conforming C11 and backward compatible with C99 (pre-C99 is not supported without code changes).
Concratulations on your first code snippet deceptikon!
This is obviously allways defined, so I assume the purpose is to comment out or remove the define if done debugging. Maybe that could be left for a command line option to compiler defining TEST_DRIVER but that of course would be compiler specific.
This is obviously allways defined, so I assume the purpose is to comment out or remove the define if done debugging.
Yes. This isn't modularized as a library, though that would be relatively simply by adding a header, it's just a single file for exhibition purposes. The whole
TEST_DRIVER preprocessor stuff is really just there to highlight that it's a sample driver with some simple test data.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.