May 10, 2018
8:33 p.m.
Am 10.05.2018 um 21:42 schrieb Sven Van Caekenberghe <sven@stfx.eu>:
Hi,
I propose the following:
https://pharo.manuscript.com/f/cases/21870/Fix-Base64-madness-for-good https://github.com/pharo-project/pharo/pull/1331
This is a much needed cleanup, IMHO. It is a breaking change however, since it changes the signature (return type) of an existing method.
#base64Decoded used to wrongly return a String, while that should be a ByteArray since Base64 encoding is a way to encode bytes as ASCII text, hence decoding it should give you back the original bytes.
Please do. It is obviously the right move. The times where strings contained bytes and it makes sense is over for a long time. Norbert