Issues with the Base64 encoding zero fill padding pattern

I've used this Base64 library in the past for encoding binary as printable text. A quick look at the source code suggests that it uses '='. My project was for a different purpose than HTTP but the library may be what you are looking for.