[Pharo-users] What is your preferred way for storing ByteArray's as text?

Esteban A. Maringolo emaringolo at gmail.com
Thu Oct 29 16:18:38 EDT 2015


2015-10-29 17:07 GMT-03:00 Bernardo Ezequiel Contreras <vonbecmann at gmail.com>:
> Esteban,
>   Could you explain line 8 ? why did you use a Base64MimeConverter?
> thanks.
>
> line 8:
>
> stream nextPutAll: 'ZnBase64Encoder '; nextPutAll: [ (Base64MimeConverter
> mimeEncode: ba readStream multiLine: false) ] bench printString; cr.

Because it is the class used by ByteArray>>#base64Encoded.

Esteban A. Maringolo




More information about the Pharo-users mailing list