Levente Uzonyi uploaded a new version of SqueakSSL-Core to project The Trunk:
http://source.squeak.org/trunk/SqueakSSL-Core-ul.31.mcz==================== Summary ====================
Name: SqueakSSL-Core-ul.31
Author: ul
Time: 15 May 2016, 11:21:55.817852 pm
UUID: c4ddb187-9880-4b51-9774-b6e2402ed5d4
Ancestors: SqueakSSL-Core-eem.30
- use #adoptInstance: to convert between binary and ascii mode instead of creating new collections
=============== Diff against SqueakSSL-Core-eem.30 ===============
Item was changed:
----- Method: SecureSocketStream>>ascii (in category 'accessing') -----
ascii
"Switch to ASCII"
super ascii.
+ ByteString adoptInstance: decoded originalContents!
- decoded := (ReadStream
- on: decoded originalContents asString
- from: 1 to: decoded size)
- position: decoded position;
- yourself.
- !
Item was changed:
----- Method: SecureSocketStream>>binary (in category 'accessing') -----
binary
"Switch to binary"
super binary.
+ ByteArray adoptInstance: decoded originalContents!
- decoded := (ReadStream
- on: decoded originalContents asByteArray
- from: 1 to: decoded size)
- position: decoded position;
- yourself.
- !