public void write(String str, int offset, int count) {write(str.substring(offset, offset + count).toCharArray());}
public override void write(string str, int offset, int count){write(Sharpen.StringHelper.Substring(str, offset, offset + count).ToCharArray());}