C# Class IronRuby.Runtime.KCoding

Inheritance: System.Text.Encoding
Mostra file Open project: ExpertsInside/IronSP Class Usage Examples

Public Methods

Method Description
Create ( int codepage, EncoderFallback encoderFallback, DecoderFallback decoderFallback ) : KCoding
Create ( int codepage, bool throwOnError ) : KCoding
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
GetDecoder ( ) : Decoder
GetEncoder ( ) : Encoder
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
IsAlwaysNormalized ( NormalizationForm form ) : bool
ToString ( ) : string

Private Methods

Method Description
Create ( Encoding encoding ) : KCoding
CreateEncoding ( int codepage, EncoderFallback encoderFallback, DecoderFallback decoderFallback ) : Encoding
GetCodePage ( int firstChar ) : int
GetKCodeName ( IronRuby.Builtins.RubyEncoding encoding ) : string
KCoding ( Encoding encoding ) : System

Method Details

Create() public static method

public static Create ( int codepage, EncoderFallback encoderFallback, DecoderFallback decoderFallback ) : KCoding
codepage int
encoderFallback System.Text.EncoderFallback
decoderFallback System.Text.DecoderFallback
return KCoding

Create() public static method

public static Create ( int codepage, bool throwOnError ) : KCoding
codepage int
throwOnError bool
return KCoding

GetByteCount() public method

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
return int

GetBytes() public method

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

GetCharCount() public method

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
return int

GetChars() public method

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

GetDecoder() public method

public GetDecoder ( ) : Decoder
return System.Text.Decoder

GetEncoder() public method

public GetEncoder ( ) : Encoder
return System.Text.Encoder

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

ToString() public method

public ToString ( ) : string
return string