[Pkg] The Trunk: Collections-pre.788.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 30 09:28:16 UTC 2018


Patrick Rein uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-pre.788.mcz

==================== Summary ====================

Name: Collections-pre.788
Author: pre
Time: 30 April 2018, 11:26:48.275837 am
UUID: 1c0f801e-7fa9-3f40-b692-8c673163b377
Ancestors: Collections-bf.787

Adds a Bit7 MIME converter which is kind of essential but was missing from the previous MIME converter addition commit.

=============== Diff against Collections-bf.787 ===============

Item was added:
+ MimeConverter subclass: #Bit7MimeConverter
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'Collections-Streams'!

Item was added:
+ ----- Method: Bit7MimeConverter>>mimeDecode (in category 'as yet unclassified') -----
+ mimeDecode
+ 
+ 	dataStream nextPutAll: mimeStream upToEnd.
+ 	^ dataStream!

Item was added:
+ ----- Method: Bit7MimeConverter>>mimeEncode (in category 'as yet unclassified') -----
+ mimeEncode
+ 
+ 	| character |
+ 	[dataStream atEnd] whileFalse: [
+ 		character := dataStream next.
+ 		self assert: character asciiValue < 128.
+ 		mimeStream nextPut: character].
+ 	
+ 	^ mimeStream!



More information about the Packages mailing list