Hardly.StringHelpers.ToStringDecode C# (CSharp) Method

ToStringDecode() public static method

public static ToStringDecode ( this data ) : string
data this
return string
        public static string ToStringDecode(this byte[] data)
        {
            try {
                return Encoding.Default.GetString(data);
            } catch(Exception e) {
                Log.exception(e);

                return null;
            }
        }