#FEATURE
authorStefan Vogel <sv@exept.de>
Wed, 02 Dec 2015 11:09:21 +0100
changeset 18966 3bc73a4cdae6
parent 18964 774cb1e6201e
child 18967 427d31d13e56
#FEATURE class: ByteArray added: #containsNon8BitElements
ByteArray.st
--- a/ByteArray.st	Mon Nov 30 10:37:08 2015 +0100
+++ b/ByteArray.st	Wed Dec 02 11:09:21 2015 +0100
@@ -164,6 +164,7 @@
 ! !
 
 
+
 !ByteArray class methodsFor:'queries'!
 
 elementByteSize
@@ -184,6 +185,7 @@
     "Modified: 23.4.1996 / 15:56:25 / cg"
 ! !
 
+
 !ByteArray methodsFor:'Compatibility-Squeak'!
 
 bitXor:aByteArray
@@ -2750,6 +2752,13 @@
     "
 !
 
+containsNon8BitElements
+    "return true, if one of my elements is larger than a single byte.
+     Per definition not."
+
+    ^ false.
+!
+
 max
     "return the maximum value in the receiver -
      redefined to speedup image processing and sound-player
@@ -2914,6 +2923,7 @@
     "
 ! !
 
+
 !ByteArray methodsFor:'searching'!
 
 indexOf:aByte startingAt:start
@@ -2979,6 +2989,7 @@
     "
 ! !
 
+
 !ByteArray methodsFor:'testing'!
 
 isByteArray