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

Nicola Mingotti nmingotti at gmail.com
Fri Sep 24 06:14:11 PDT 2021


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210924/cf468fc3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4879-CuisCore-NicolaMingotti-2021Sep24-15h05m-NM.001.cs.st
Type: application/vnd.sailingtracker.track
Size: 408 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210924/cf468fc3/attachment.bin>


More information about the Cuis-dev mailing list