Base Decoder and Encoder, or bde for short, is a C/C++ library that decodes and encodes data in different bases.
Based on RFC4648, bde is fully tested and documented and it is MISRA C:2012 compliant.
Refer to the documentation here for details.
Clone the repository as:
git clone https://github.com/dmg0345/bde
Example commands to build the library and run the tests are provided below:
cmake -C "./other/cmake/preload/release.cmake" -S . -B "./.cmake_build"
cmake --build "./.cmake_build" -j --target all
cmake --build "./.cmake_build" -j --target install
ctest --test-dir "./.cmake_build"
Find the base Docker image for the development container at DockerHub. To develop using devcontainers and Visual Studio Code:
docker pull dmg00345/bde:latest
./manage.ps1 run
To generate a release follow the steps below:
- Create a
release
branch fromdevelop
branch, e.g.release/X.Y.Z
. - Update version in conf.py file and in version.cmake file.
- Run cmake with
-DCFG_TAG:BOOL=ON
to tag all the relevant files. - Create pull request from
release
branch tomaster
with the changes with title Release X.Y.Z. - When merged in
master
create release and tag from Github, review production workflow passes for deployment. - Delete the
release/X.Y.Z
branch.