This class represents a UTF-8 j2me.nio.ByteBuffer reader.
This reader can be used for efficient decoding of native byte
buffers (e.g. MappedByteBuffer ), high-performance
messaging (no intermediate buffer), etc.
This reader supports surrogate char pairs (representing
characters in the range [U+10000 .. U+10FFFF]). It can also be used
to read characters unicodes (31 bits) directly
(ref.
UTF8ByteBufferReader.read() ).
Each invocation of one of the read() methods may cause one
or more bytes to be read from the underlying byte buffer.
The end of stream is reached when the byte buffer position and limit
coincide.
author: Jean-Marie Dautelle version: 2.0, December 9, 2004 See Also: UTF8ByteBufferWriter |