public override void write(char[] cbuf, int off, int len) { char [] toWrite = new char[len - off]; java.lang.SystemJ.arraycopy(cbuf, off, toWrite, 0, len); byte[] result = (byte[])cs.encode(new java.nio.ReadWriteCharArrayBuffer(toWrite)).array(); delegateInstance.write(result); }
/** * Takes the contents of this stream and writes it to the output stream * {@code out}. * * @param out * an OutputStream on which to write the contents of this stream. * @throws IOException * if an error occurs while writing to {@code out}. */ public void writeTo(OutputStream outJ) { //throws IOException { outJ.write(buf, 0, count); }
/* * Takes the contents of this stream and writes it to the output stream * {@code out}. * * @param out * an OutputStream on which to write the contents of this stream. * @throws IOException * if an error occurs while writing to {@code out}. */ public void writeTo(OutputStream outJ) //throws IOException { { outJ.write(buf, 0, count); }
public override void write(int b) { outJ.write(b); }