Issues with the Base64 encoding zero fill padding pattern

This looks like it was done right:

But it's a pure C++ library...