Method | Description | |
---|---|---|
CheckBom ( byte buffer, int size ) : EncodingEnum | ||
DetectEncoding ( byte buffer, int size ) : EncodingEnum | ||
GetBomLengthFromEncodingMode ( EncodingEnum encodingEnum ) : int | ||
GetFileEncoding ( string srcFile ) : |
Returns the encoding of the input file
|
Method | Description | |
---|---|---|
CheckUtf16Ascii ( byte buffer, int size ) : EncodingEnum | ||
CheckUtf16NewlineChars ( byte buffer, int size ) : EncodingEnum | ||
CheckUtf8 ( byte buffer, int size ) : EncodingEnum | ||
DoesContainNulls ( byte buffer, int size ) : bool |
public CheckBom ( byte buffer, int size ) : EncodingEnum | ||
buffer | byte | |
size | int | |
return | EncodingEnum |
public DetectEncoding ( byte buffer, int size ) : EncodingEnum | ||
buffer | byte | |
size | int | |
return | EncodingEnum |
public static GetBomLengthFromEncodingMode ( EncodingEnum encodingEnum ) : int | ||
encodingEnum | EncodingEnum | |
return | int |
public static GetFileEncoding ( string srcFile ) : |
||
srcFile | string | |
return |