This class is the superclass of streams that take an origin
and encode it to another character set. The subclasses are
are for internal use unless you are writing support for your own
encodings.
on: aStringOrStream from: fromEncoding to: toEncoding
Answer a new encoder that translates from fromEncoding
to toEncoding. The encodings are guaranteed to be
those for which the encoder was registered.
5.5.2 I18N.Encoder: stream operations
atEnd
Return whether the receiver can produce another character in
the receiver; by default, this is true if there is another
character in the origin.
atEndOfInput
Return whether there is another character in the origin. This
method is for private use by encoders, calling it outside won't
corrupt the internal state of the encoder but the result
probably won't be meaningful (depending on the innards of the
encoder).
next
Return the next character in the receiver; by default,
this is the next character in the origin.
nextInput
Return the next character in the origin. This method is for
private use by encoders, calling it outside may corrupt the
internal state of the encoder.
nextInputAvailable: n into: aCollection startingAt: pos
Place up to N characters from the origin in aCollection. This method is for
private use by encoders, calling it outside may corrupt the
internal state of the encoder.
peekInput
Return the next character in the origin without advancing it.
species
We answer a string of Characters encoded in our destination
encoding.
This document was generated
on August, 19 2010
using texi2html