#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sun, 18 Jun 2017 18:02:21 +0200
changeset 21830 c5ea23cc3ba2
parent 21829 ecd8892d2de5
child 21831 9b13255ce344
#FEATURE by cg class: UninterpretedBytes class added: #readHexFrom:
UninterpretedBytes.st
--- a/UninterpretedBytes.st	Sat Jun 17 03:09:38 2017 +0200
+++ b/UninterpretedBytes.st	Sun Jun 18 18:02:21 2017 +0200
@@ -404,6 +404,20 @@
     "
 ! !
 
+!UninterpretedBytes class methodsFor:'Compatibility-Squeak'!
+
+readHexFrom:aString
+    "same as fromHexString: for squeak/Pharo compatibility"
+    
+    ^ self fromHexString:aString
+
+    "
+     (ByteArray readHexFrom: 'C3A1C3A5C3A6C3B1C386C2A5C3BC')
+    "
+
+    "Created: / 18-06-2017 / 18:01:18 / cg"
+! !
+
 !UninterpretedBytes class methodsFor:'queries'!
 
 isAbstract