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

Peter Uhnák i.uhnak at gmail.com
Thu Oct 29 14:21:59 EDT 2015


>
> >>> Option A) The printString of ByteArray, it is #[23 12 253 ...]

>>> Option B) A Base64 encoded version of the ByteArray
>

I like this one, because it is not Pharo-specific format. ByteArray is not
pharo-specific, but the syntax is --- I can copy paste base64 from/to
outside world.
Plus base64 has better tool support in the wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20151029/2fded4e2/attachment.html>


More information about the Pharo-users mailing list