#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Sat, 04 Jun 2016 04:38:44 +0200
changeset 19934 392ce4c308c6
parent 19933 d45636ff51df
child 19935 feb65418c896
#DOCUMENTATION by cg class: ByteArray added: #maxVal #minVal
ByteArray.st
--- a/ByteArray.st	Sat Jun 04 04:15:09 2016 +0200
+++ b/ByteArray.st	Sat Jun 04 04:38:44 2016 +0200
@@ -164,7 +164,6 @@
 ! !
 
 
-
 !ByteArray class methodsFor:'queries'!
 
 elementByteSize
@@ -183,9 +182,20 @@
     ^ self == ByteArray
 
     "Modified: 23.4.1996 / 15:56:25 / cg"
+!
+
+maxVal
+    "the minimum value which can be stored in instances of me"
+
+    ^ 255
+!
+
+minVal
+    "the minimum value which can be stored in instances of me"
+
+    ^ 0
 ! !
 
-
 !ByteArray methodsFor:'Compatibility-Squeak'!
 
 bitXor:aByteArray
@@ -3092,7 +3102,6 @@
     "
 ! !
 
-
 !ByteArray methodsFor:'searching'!
 
 indexOf:aByte startingAt:start
@@ -3158,7 +3167,6 @@
     "
 ! !
 
-
 !ByteArray methodsFor:'testing'!
 
 isByteArray