Example #1
0
 public static bool __encodingIs(string s, Action <object> action, bool typeIsAssignableFromEncoding) =>
 typeIsAssignableFromEncoding && StringEncodingDeterminer.Is(s, action);
Example #2
0
 /// <summary>
 /// Is encoding
 /// </summary>
 /// <param name="str"></param>
 /// <returns></returns>
 public static bool IsEncoding(this string str) => StringEncodingDeterminer.Is(str);