public virtual OutStream print(object obj) { string s = obj == null ? "null" : toStr(obj); return writeChars(s, 0, s.Length); }