Abstract class for a character-to-byte encoding writer.
Implementations need to implement create
and write() at minimum. Efficient implementations will
also implement the write into a buffer.
Implementations should not buffer the bytes.
create(String javaEncoding) Returns a new encoding writer for the given stream and javaEncoding.
Parameters: javaEncoding - the JDK name for the encoding.
Writes a character buffer using the correct encoding.
Parameters: cbuf - character buffer receiving the data. Parameters: off - starting offset into the buffer. Parameters: len - number of characters to write