YESS!

On Thu, May 10, 2018 at 10:33 PM, Norbert Hartl <norbert@hartl.name> wrote:


> 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




--

������

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr


Web: http://guillep.github.io

Phone: +33 06 52 70 66 13