Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 392 Bytes

File metadata and controls

27 lines (19 loc) · 392 Bytes

Base64 Encoder/Decoder

A C++20 implementation of Base64 encoding and decoding with a clean API and comprehensive tests.

Build

mkdir build && cd build
cmake ..
cmake --build .

Usage

#include "encoder.h"
#include "decoder.h"

std::string encoded = encode("Hello, World!");
std::string decoded = decode(encoded);

Testing

./build/base64_tests