C# Class IronRuby.Runtime.BinaryEncoding

ASCII-8BIT encoding: 0xmn -> \u00mn \u00mn -> 0xmn, error otherwise
Inheritance: System.Text.Encoding
ファイルを表示 Open project: jschementi/iron

Public Properties

Property Type Description
Instance System.Text.Encoding

Public Methods

Method Description
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
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int

Private Methods

Method Description
BinaryEncoding ( ) : System

Method Details

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

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

Instance public_oe static_oe property

public static Encoding,System.Text Instance
return System.Text.Encoding