[Cuis-dev] fileout. fix bug in base64 encoding

Juan Vuletich juan at jvuletich.org
Fri Sep 24 07:48:51 PDT 2021


On 9/24/2021 10:14 AM, Nicola Mingotti via Cuis-dev wrote:
> hi Juan, guys,
>
> fileout included, fixes little thing in Base64MimeConverter
>
> --- snippet not working without the fix -------------
> ". example base64 encoding "
>
> inFile _ '/home/p/download/testDir.zip'.
> file64 _ '/home/p/download/testDir.zip.b64'.
> rs1 _ inFile asFileEntry readStream useBytes.
> rs2 _ file64 asFileEntry forceWriteStream .
> Base64MimeConverter mimeEncode: rs1 to: rs2.
> rs1 close. rs2 close.
>
> -------------------------------------------------------
>
> bye
> Nicola
>
>

Now at GitHub.

Thanks!

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210924/56baf78a/attachment.htm>


More information about the Cuis-dev mailing list