/// <summary> /// Creates a new ByteString which will contain the representation of the given String in the given charset /// </summary> /// <param name="str">TBD</param> /// <param name="encoding">TBD</param> /// <returns>TBD</returns> public static ByteString FromString(string str, Encoding encoding) { return(CompactByteString.FromString(str, encoding)); }