Previous: , Up: I18N.Encoder   [Index]


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.