CharacterEncoderImplementations__TwoByteEncoder.st
changeset 11995 e8df4cb7d6bb
parent 8148 dbf64e3142d9
child 12434 7560b3932d74
--- a/CharacterEncoderImplementations__TwoByteEncoder.st	Tue Sep 22 10:38:10 2009 +0200
+++ b/CharacterEncoderImplementations__TwoByteEncoder.st	Tue Sep 22 11:07:39 2009 +0200
@@ -9,7 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 "{ NameSpace: CharacterEncoderImplementations }"
@@ -53,8 +52,17 @@
     ^ TwoByteString uninitializedNew:size
 ! !
 
+!TwoByteEncoder methodsFor:'queries'!
+
+characterSize:codePoint
+
+    ^2
+
+    "Created: / 15-06-2005 / 15:12:01 / janfrog"
+! !
+
 !TwoByteEncoder class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__TwoByteEncoder.st,v 1.4 2004-03-09 22:00:47 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__TwoByteEncoder.st,v 1.5 2009-09-22 09:07:39 fm Exp $'
 ! !