Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/truvorskameikin/routines-cpp
The collection of header-only routines for C++
https://github.com/truvorskameikin/routines-cpp
c-plus-plus cpp header-only no-dependencies
Last synced: 16 days ago
JSON representation
The collection of header-only routines for C++
- Host: GitHub
- URL: https://github.com/truvorskameikin/routines-cpp
- Owner: truvorskameikin
- License: apache-2.0
- Created: 2014-09-16T08:10:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-26T09:52:44.000Z (over 6 years ago)
- Last Synced: 2024-07-31T22:58:05.008Z (3 months ago)
- Topics: c-plus-plus, cpp, header-only, no-dependencies
- Language: C++
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Routines-cpp #
The collection of header-only routines.
The idea is: you can get any header file with the name *[feature]_routines.h* and use it in your project without any compiler or linker setup. This repository also includes unit tests for all features.
## Base64 ##
Header-only implementation of [Base64](https://en.wikipedia.org/wiki/Base64) Encode/Decode algorithms. The implementation is not intended to be super fast, it just works.
__Location:__
routines-cpp/base64/base64_routines.h
__Usage:__
#include
#include "routines-cpp/base64/base64_routines.h"
std::string test_string = "1234567";
std::string encoded = base64routines::Encode(test_string);
std::string decoded = base64routines::Decode(encoded);
assert(test_string == decoded);## Coming soon ##
* Some secure hash algorithms such as md5, sha1, sha256
* Endianness routines
* Big integer routines
* Unicode routines (Unicode UTF-8 sequense parser, code position categories etc.)
* String routines (split, strip, substitute etc.)