C# Class System.Text.DBCSCodePageEncoding

Inheritance: BaseCodePageEncoding
显示文件 Open project: dotnet/corefx Class Usage Examples

Protected Properties

Property Type Description
charUnknown char

Private Properties

Property Type Description
CleanUpEndBytes void
DBCSCodePageEncoding System
DBCSCodePageEncoding System
DBCSCodePageEncoding System
GetByteCount int
GetBytes int
GetCharCount int
GetChars int
LoadManagedCodePage void
ReadBestFitTable void

Public Methods

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

Protected Methods

Method Description
CleanUpBytes ( int &bytes ) : bool

Private Methods

Method Description
CleanUpEndBytes ( char chars ) : void
DBCSCodePageEncoding ( int codePage ) : System
DBCSCodePageEncoding ( int codePage, int dataCodePage ) : System
DBCSCodePageEncoding ( int codePage, int dataCodePage, EncoderFallback enc, DecoderFallback dec ) : System
GetByteCount ( char chars, int count, EncoderNLS encoder ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount, EncoderNLS encoder ) : int
GetCharCount ( byte bytes, int count, DecoderNLS baseDecoder ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount, DecoderNLS baseDecoder ) : int
LoadManagedCodePage ( ) : void
ReadBestFitTable ( ) : void

Method Details

CleanUpBytes() protected method

protected CleanUpBytes ( int &bytes ) : bool
bytes int
return bool

GetDecoder() public method

public GetDecoder ( ) : Decoder
return Decoder

GetMaxByteCount() public method

public GetMaxByteCount ( int charCount ) : int
charCount int
return int

GetMaxCharCount() public method

public GetMaxCharCount ( int byteCount ) : int
byteCount int
return int

Property Details

charUnknown protected_oe property

protected char charUnknown
return char