[squeak-dev] The Trunk: Collections-pre.837.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jun 24 11:52:59 UTC 2019

Patrick Rein uploaded a new version of Collections to project The Trunk:

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

Name: Collections-pre.837
Author: pre
Time: 24 June 2019, 1:52:53.529208 pm
UUID: 182f9f97-631a-064e-a5f8-c4d060b4253f
Ancestors: Collections-pre.836

Extends the #asOctetString comment.

=============== Diff against Collections-pre.836 ===============

Item was changed:
  ----- Method: String>>asOctetString (in category 'converting') -----
+ 	"Convert the receiver into an octet string if possible. The resulting string will contain 
+ 	only bytes if all characters fit into bytes. If there is any character > 255 the resulting
+ 	string will be a WideString instead."
- 	"Convert the receiver into an octet string"
  	| string |
  	string := String new: self size.
  	1 to: self size do: [:i | string at: i put: (self at: i)].

More information about the Squeak-dev mailing list