[squeak-dev] The Trunk: Collections-ar.310.mcz
Bert Freudenberg
bert at freudenbergs.de
Tue Feb 23 16:17:34 UTC 2010
On 23.02.2010, at 16:58, Nicolas Cellier wrote:
>
> Good, but why lowercase letters ?
>
> Nicolas
Right, I'd prefer uppercase too.
The UUID spec (RFC 4122) allows both upper and lower case hex digits, so I don't see a reason not to.
- Bert -
>
> 2010/2/23 <commits at source.squeak.org>:
>> Andreas Raab uploaded a new version of Collections to project The Trunk:
>> http://source.squeak.org/trunk/Collections-ar.310.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Collections-ar.310
>> Author: ar
>> Time: 23 February 2010, 7:16:34.191 am
>> UUID: eb685ed0-dba7-d546-b63e-08f76154d027
>> Ancestors: Collections-ul.309
>>
>> Conversions from/to hex representations in ByteArray, for example:
>>
>> #[122 43 213 7] hex
>> => '7a2bd507'
>>
>> ByteArray readHexFrom: '7a2bd507'
>> => #[122 43 213 7]
>>
>> Similarly these can be used for subclasses, e.g.,
>>
>> UUID new hex
>> => '97c1f2ddf9209948b329319a30c16386'
>>
>> UUID readHexFrom: '97c1f2ddf9209948b329319a30c16386'
>> => 97c1f2dd-f920-9948-b329-319a30c16386
>>
More information about the Squeak-dev
mailing list
|