public void write(String str, int offset, int count) {String sub = str.substring(offset, offset + count);buf.append(sub);}

public override void write(string str, int offset, int count){string sub = Sharpen.StringHelper.Substring(str, offset, offset + count);buf.append(sub);}
