Sounds hackish to me. You are right to ask for a rationale and a requirement before letting such line in.
Nicolas 2010/1/15 Stéphane Ducasse <[email protected]>: > Hi > > in the squeak trunk > > jcg in collections-jcg.124 did > > mimeEncode: aStream > "Return a ReadWriteStream of characters. The data of aStream is > encoded as 65 innocuous characters. (See class comment). 3 bytes in aStream > goes to 4 bytes in output." > > | me | >>> aStream position: 0. > me := self new dataStream: aStream. > me mimeStream: (ReadWriteStream on: (String new: aStream size + 20 * 4 > // 3)). > me mimeEncode. > me mimeStream position: 0. > ^ me mimeStream > > I would like to know if one of you agree on that. > > Thanks > Stef > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
