--- a/CharacterEncoder.st Fri Sep 18 17:35:00 2009 +0200
+++ b/CharacterEncoder.st Fri Sep 18 17:35:11 2009 +0200
@@ -1305,6 +1305,14 @@
!CharacterEncoder methodsFor:'queries'!
+characterSize:codePoint
+ "return the number of bytes required to encode codePoint"
+
+ ^ self subclassResponsibility
+
+ "Created: / 15-06-2005 / 15:11:04 / janfrog"
+!
+
isNullEncoder
^ false
!
@@ -1324,6 +1332,24 @@
^ self class userFriendlyNameOfEncoding
! !
+!CharacterEncoder methodsFor:'stream support'!
+
+readNext:arg1 charactersFrom:arg2
+ "raise an error: must be redefined in concrete subclass(es)"
+
+ ^ self subclassResponsibility
+
+ "Created: / 16-06-2005 / 11:46:45 / masca"
+!
+
+readNextCharacterFrom:aStream
+ "raise an error: must be redefined in concrete subclass(es)"
+
+ ^ self subclassResponsibility
+
+ "Created: / 14-06-2005 / 17:02:28 / janfrog"
+! !
+
!CharacterEncoder::CompoundEncoder class methodsFor:'documentation'!
documentation
@@ -1547,7 +1573,7 @@
!CharacterEncoder class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoder.st,v 1.103 2008-11-28 18:53:43 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoder.st,v 1.104 2009-09-18 15:35:11 cg Exp $'
! !
CharacterEncoder initialize!