C# 클래스 Thrinax.Helper.NChardetHelper

파일 보기 프로젝트 열기: ziyunhx/thrinax

공개 메소드들

메소드 설명
RecogCharset ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL, int maxLength = 1024 ) : string

Recog the charset from byte array.

RecogEncoding ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL ) : Encoding

Recog the Encoding from byte array.

메소드 상세

RecogCharset() 공개 정적인 메소드

Recog the charset from byte array.
public static RecogCharset ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL, int maxLength = 1024 ) : string
bytes byte the byte array.
language NChardetLanguage the language.
maxLength int max length per time. the default is 1024, -1 to without limit.
리턴 string

RecogEncoding() 공개 정적인 메소드

Recog the Encoding from byte array.
public static RecogEncoding ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL ) : Encoding
bytes byte the byte array.
language NChardetLanguage the language.
리턴 System.Text.Encoding