#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sun, 08 May 2016 03:24:07 +0200
changeset 3826 63c5834d27c1
parent 3825 42ad9ef77333
child 3827 c0411e2ffe2a
#FEATURE by cg class: FourByteString added: #bytesPerCharacter
FourByteString.st
--- a/FourByteString.st	Sat May 07 12:39:06 2016 +0200
+++ b/FourByteString.st	Sun May 08 03:24:07 2016 +0200
@@ -131,6 +131,13 @@
     ^ 32
 !
 
+bytesPerCharacter
+    "return the number of bytes each character has.
+     Here, 4 is returned (storing quad byte characters)."
+
+    ^ 4
+!
+
 isWideString
     "true if I require more than one byte per character"