A proof of concept for an C++ encoding library