Skip to content

About

Very lightweight encoder and decoder base64 for C/C++

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

picobase64

Very fast and lightweight header-only base64 library. Without excess SIMD, dependencies. Include file and work with it.

Simple just coding.

Have fun!

Many thanks:

Example

#include <iostream>
#include <string>
#include "picobase64.h"

int main() {
    std::string str = "John Doe with IBM 5100";
    std::cout << b64encode(str); // Sm9obiBEb2Ugd2l0aCBJQk0gNTEwMA==
    std::string base64_str = b64encode(str);
    std::cout << b64decode(base64_str); // John Doe with IBM 5100
    return 0;
}

Tests and benchmarks

Repository base64 with collection benchmarks and tests was done by maintainer Gaspard Petit (gaspardpetit)

License

PicoBase64 is licensed under the (GNU General Public License 3.0)

About

Very lightweight encoder and decoder base64 for C/C++

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages