CharacterEncoderImplementations__ISO10646_to_UTF16LE.st
changeset 8903 4e15c297fadc
child 9326 46b7df422c6c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CharacterEncoderImplementations__ISO10646_to_UTF16LE.st	Thu Jul 07 19:36:41 2005 +0200
@@ -0,0 +1,66 @@
+"
+ COPYRIGHT (c) 2005 by eXept Software AG
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+
+"{ Package: 'stx:libbasic' }"
+
+"{ NameSpace: CharacterEncoderImplementations }"
+
+ISO10646_to_UTF16BE subclass:#ISO10646_to_UTF16LE
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Collections-Text-Encodings'
+!
+
+!ISO10646_to_UTF16LE class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 2005 by eXept Software AG
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+!
+
+documentation
+"
+    encodes/decodes UTF16 LittleEndian (little-end-first)
+"
+! !
+
+!ISO10646_to_UTF16LE methodsFor:'private'!
+
+nextPutTwoByteValue:anInteger to:aStream
+    aStream nextPutShort:anInteger MSB:false
+!
+
+nextTwoByteValueFrom:aStream
+    ^ aStream nextUnsignedShortMSB:false
+! !
+
+!ISO10646_to_UTF16LE methodsFor:'queries'!
+
+nameOfEncoding
+    ^ #'utf8le'
+! !
+
+!ISO10646_to_UTF16LE class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterEncoderImplementations__ISO10646_to_UTF16LE.st,v 1.1 2005-07-07 17:36:33 cg Exp $'
+! !