C# Class System.Text.SBCSCodePageEncoding

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

Private Properties

Property Type Description
GetByteCount int
GetBytes int
GetCharCount int
GetChars int
LoadManagedCodePage void
ReadBestFitTable void
SBCSCodePageEncoding System
SBCSCodePageEncoding System
ZeroMemAligned void

Public Methods

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

Private Methods

Method Description
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 decoder ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount, DecoderNLS decoder ) : int
LoadManagedCodePage ( ) : void
ReadBestFitTable ( ) : void
SBCSCodePageEncoding ( int codePage ) : System
SBCSCodePageEncoding ( int codePage, int dataCodePage ) : System
ZeroMemAligned ( byte buffer, int count ) : void

Method Details

GetMaxByteCount() public method

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

GetMaxCharCount() public method

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