C# Class System.Text.Latin1Encoding

Inheritance: Encoding
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
IsAlwaysNormalized ( NormalizationForm form ) : bool
Latin1Encoding ( ) : System

Private Methods

Method Description
GetBestFitUnicodeToBytesData ( ) : char[]
GetByteCount ( char chars, int charCount, 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
ISerializable ( SerializationInfo info, StreamingContext context ) : void
Latin1Encoding ( SerializationInfo info, StreamingContext context ) : System

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

IsAlwaysNormalized() public method

public IsAlwaysNormalized ( NormalizationForm form ) : bool
form NormalizationForm
return bool

Latin1Encoding() public method

public Latin1Encoding ( ) : System
return System