base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().