package mjava.io;

import mjava.lang.MString;

public class SimpleOutputStream {

	static {
		System.loadLibrary("SimpleOutputStream");
	}

	public static native void write(MString msg);

	public static void main(String[] args) {
		char[] s = { 'H', 'e', 'l', 'l', 'o' };
		write(new MString(s));
	}
}

@@ -133,16 +133,93 @@
 %22);%0A%09%7D%0A%0A
+%09public void write(MString msg) %7B%0A%09%09write(msg.getValue(), msg.length());%0A%09%7D%0A%0A
 %09public 
@@ -243,27 +243,35 @@
 d write(
-MString msg
+char%5B%5D msg, int len
 );%0A%0A%09pub
@@ -350,18 +350,43 @@
  'o' %7D;%0A
-
 %09%09
+new SimpleOutputStream().
 write(ne

Update SimpleOutputStream.java