C# 클래스 DBCSCodePage.DBCSEncoding

상속: System.Text.Encoding
파일 보기 프로젝트 열기: EdiWang/UWP-Helpers 1 사용 예제들

공개 메소드들

메소드 설명
GetByteCount ( char chars, int index, int count ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetDBCSEncoding ( string name ) : DBCSEncoding

Get Encoding by name (e.g. gb2312)

GetDecoder ( ) : Decoder
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int

비공개 메소드들

메소드 설명
DBCSEncoding ( ) : System
GetCharCount ( byte bytes, int index, int count, DBCSDecoder decoder ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, DBCSDecoder decoder ) : int

메소드 상세

GetByteCount() 공개 메소드

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
리턴 int

GetBytes() 공개 메소드

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
리턴 int

GetCharCount() 공개 메소드

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
리턴 int

GetChars() 공개 메소드

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
리턴 int

GetDBCSEncoding() 공개 정적인 메소드

Get Encoding by name (e.g. gb2312)
public static GetDBCSEncoding ( string name ) : DBCSEncoding
name string encoding name
리턴 DBCSEncoding

GetDecoder() 공개 메소드

public GetDecoder ( ) : Decoder
리턴 System.Text.Decoder

GetMaxByteCount() 공개 메소드

public GetMaxByteCount ( int charCount ) : int
charCount int
리턴 int

GetMaxCharCount() 공개 메소드

public GetMaxCharCount ( int byteCount ) : int
byteCount int
리턴 int