Back: I18N.EncodedStream class-instance creation Up: Iconv/I18N packages Forward: I18N.EncodedString class-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

5.3 I18N.EncodedString

Defined in namespace I18N
Superclass: CharacterArray
Category: i18n-Character sets
An EncodedString, like a String, is a sequence of bytes representing a specific encoding of a UnicodeString. Unlike a String, however, the encoding name is known, rather than detected, irrelevant or assumed to be the system default.

5.3.1 I18N.EncodedString class: accessing  (class)
5.3.2 I18N.EncodedString class: instance creation  (class)
5.3.3 I18N.EncodedString: accessing  (instance)
5.3.4 I18N.EncodedString: copying  (instance)
5.3.5 I18N.EncodedString: initializing  (instance)
5.3.6 I18N.EncodedString: printing  (instance)


5.3.1 I18N.EncodedString class: accessing

isUnicode
Answer false; the receiver stores bytes (i.e. an encoded form), not characters.


5.3.2 I18N.EncodedString class: instance creation

fromString: aString
Not commented.

fromString: aString encoding: encoding
Not commented.

new
This method should not be called for instances of this class.

new: size
This method should not be called for instances of this class.


5.3.3 I18N.EncodedString: accessing

asString
Answer `string'.

asUnicodeString
Not commented.

at: anIndex
Not commented.

at: anIndex put: anObject
Not commented.

do: aBlock
Not commented.

encoding
Not commented.

hash
Not commented.

size
Not commented.

species
Not commented.

utf16Encoding
Not commented.

utf32Encoding
Not commented.

valueAt: anIndex
Not commented.

valueAt: anIndex put: anObject
Not commented.


5.3.4 I18N.EncodedString: copying

copy
Not commented.

copyEmpty
Not commented.

copyEmpty: size
Not commented.


5.3.5 I18N.EncodedString: initializing

encoding: aString
Not commented.

setString: aString
Not commented.


5.3.6 I18N.EncodedString: printing

displayOn: aStream
Print a representation of the receiver on aStream. Unlike #printOn:, this method does not display the encoding and enclosing quotes.

printOn: aStream
Print a representation of the receiver on aStream.



Back: I18N.EncodedString-initializing Up: I18N.EncodedString Forward: I18N.EncodedStringFactory   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on February, 22 2012 using texi2html