Source/NFX/MiscUtils.cs
/// <summary>
/// Encodes string with standart UTF8 encoder
/// </summary>
Encodes string with standart UTF8 encoder
Encodes string with standart UTF8 encoder
public static byte[] ToUTF8Bytes(this string str)
    {
      if (str==null) return null;
      return Encoding.UTF8.GetBytes(str);
    }
public static byte [ ] ToUTF8Bytes ( this string str ) { if ( str == null ) return null ; return Encoding . UTF8 . GetBytes ( str ) ; }
Encodes string with standart UTF8 encoder
Encodes string with standart UTF8 encoder
string
this