public String toString(String enc) throws UnsupportedEncodingException {return new String(buf, 0, count, enc);}

public virtual string toString(string enc){throw new System.NotImplementedException();}
