C# 클래스 QUT.GplexBuffers.Guesser

This class provides a simple finite state automaton that scans the file looking for (1) valid UTF-8 byte patterns, (2) bytes >= 0x80 which are not part of a UTF-8 sequence. The method then guesses whether it is UTF-8 or maybe some local machine default encoding. This works well for the various Latin encodings.
파일 보기 프로젝트 열기: spark-shading-language/spark 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
uppr long
utfX long

공개 메소드들

메소드 설명
GuessCodePage ( ) : int
Guesser ( System file ) : System
SetSource ( System source ) : void

비공개 메소드들

메소드 설명
Guesser ( ) : System
NextState ( ) : int
Scan ( ) : int

메소드 상세

GuessCodePage() 공개 메소드

public GuessCodePage ( ) : int
리턴 int

Guesser() 공개 메소드

public Guesser ( System file ) : System
file System
리턴 System

SetSource() 공개 메소드

public SetSource ( System source ) : void
source System
리턴 void

프로퍼티 상세

uppr 공개적으로 프로퍼티

public long uppr
리턴 long

utfX 공개적으로 프로퍼티

public long utfX
리턴 long