ExternalBytes.st
changeset 24784 07fbb48bf6b5
parent 24056 a7b360193da5
child 25005 cfabf497d6d2
--- a/ExternalBytes.st	Mon Sep 16 09:53:39 2019 +0200
+++ b/ExternalBytes.st	Mon Sep 16 09:54:00 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -666,6 +664,13 @@
     "
 !
 
+elementByteSize
+    "for bit-like containers, return the number of bytes stored per element.
+     For pointer indexed classes, 0 is returned"
+
+    ^ 1
+!
+
 isBuiltInClass
     "return true if this class is known by the run-time-system.
      Here, true is returned."