Class StringHelper
Inheritance
System.Object
StringHelper
Namespace: Volo.Abp.Text
Assembly: Volo.Abp.Core.dll
Syntax
public class StringHelper : object
Methods
ConvertFromBytesWithoutBom(Byte[], Encoding)
Converts a byte[] to string without BOM (byte order mark).
Declaration
public static string ConvertFromBytesWithoutBom(byte[] bytes, Encoding encoding = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes | The byte[] to be converted to string |
| Encoding | encoding | The encoding to get string. Default is UTF8 |
Returns
| Type | Description |
|---|---|
| System.String |