A new version of Collections was added to project The Inbox:
http://source.squeak.org/inbox/Collections-ct.912.mcz==================== Summary ====================
Name: Collections-ct.912
Author: ct
Time: 17 September 2020, 9:52:26.194813 am
UUID: 8613bd82-d0a4-7444-9e25-7ced81133021
Ancestors: Collections-eem.911
Fixes a typo in two method comments.
*Setting an imaginary MINOR flag for this commit*
=============== Diff against Collections-eem.911 ===============
Item was changed:
----- Method: Base64MimeConverter>>mimeDecode (in category 'conversion') -----
mimeDecode
+ "Convert a stream in base 64 with only a-z,A-Z,0-9,+,/ to a full byte stream of characters. Return a whole stream for the user to read."
- "Convert a stream in base 64 with only a-z,A-Z,0-9,+,/ to a full byte stream of characters. Reutrn a whole stream for the user to read."
| nibA nibB nibC nibD |
[mimeStream atEnd] whileFalse: [
(nibA := self nextValue) ifNil: [^ dataStream].
(nibB := self nextValue) ifNil: [^ dataStream].
dataStream nextPut: ((nibA bitShift: 2) + (nibB bitShift: -4)) asCharacter.
nibB := nibB bitAnd: 16rF.
(nibC := self nextValue) ifNil: [^ dataStream].
dataStream nextPut: ((nibB bitShift: 4) + (nibC bitShift: -2)) asCharacter.
nibC := nibC bitAnd: 16r3.
(nibD := self nextValue) ifNil: [^ dataStream].
dataStream nextPut: ((nibC bitShift: 6) + nibD) asCharacter.
].
^ dataStream!
Item was changed:
----- Method: Base64MimeConverter>>mimeDecodeToByteArray (in category 'conversion') -----
mimeDecodeToByteArray
+ "Convert a stream in base 64 with only a-z,A-Z,0-9,+,/ to a full ByteArray of 0-255 values. Return a whole stream for the user to read."
- "Convert a stream in base 64 with only a-z,A-Z,0-9,+,/ to a full ByteArray of 0-255 values. Reutrn a whole stream for the user to read."
| nibA nibB nibC nibD |
[mimeStream atEnd] whileFalse: [
(nibA := self nextValue) ifNil: [^ dataStream].
(nibB := self nextValue) ifNil: [^ dataStream].
dataStream nextPut: ((nibA bitShift: 2) + (nibB bitShift: -4)).
nibB := nibB bitAnd: 16rF.
(nibC := self nextValue) ifNil: [^ dataStream].
dataStream nextPut: ((nibB bitShift: 4) + (nibC bitShift: -2)).
nibC := nibC bitAnd: 16r3.
(nibD := self nextValue) ifNil: [^ dataStream].
dataStream nextPut: ((nibC bitShift: 6) + nibD).
].
^ dataStream!