Base64-encode function gives different outcome depending on how memptr is populated
Storing character strings in memptr to base64-encode them -> base64-encoded string is different depending on how memptr is populated, while the source data remains the same.