public StrBuf add(object x) { string s = (x == null) ? "null" : toStr(x); sb.Append(s); return this; }