TwoByteString.st
changeset 22228 f9b1fd876cbb
parent 22226 0604a0bec563
child 22375 0baa14a9b02e
--- a/TwoByteString.st	Thu Aug 31 10:28:35 2017 +0200
+++ b/TwoByteString.st	Thu Aug 31 14:51:46 2017 +0200
@@ -344,7 +344,13 @@
 
 !TwoByteString methodsFor:'testing'!
 
-isByteCollection
+isSingleByteCollection
+    "return true, if the receiver has access methods for bytes;
+     i.e. #at: and #at:put: accesses a byte and are equivalent to #byteAt: and byteAt:put:
+     and #replaceFrom:to: is equivalent to #replaceBytesFrom:to:. 
+     false is returned here since at: returns 2-byte characters and not bytes 
+      - the method is redefined from UninterpretedBytes."
+
     ^ false
 
     "Created: / 30-08-2017 / 23:30:36 / cg"