C# Class Portable.Text.ASCIIEncoding

Inheritance: Encoding
Show file Open project: jstedfast/Portable.Text.Encoding

Public Methods

Method Description
ASCIIEncoding ( ) : System
GetByteCount ( char chars, int count ) : int
GetByteCount ( char chars, int index, int count ) : int
GetByteCount ( string s ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetCharCount ( byte bytes, int count ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteCount, char chars, int charCount ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int
GetString ( byte bytes, int index, int count ) : string

Private Methods

Method Description
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, EncoderFallbackBuffer &buffer, char &fallback_chars ) : int
GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex, EncoderFallbackBuffer &buffer, char &fallback_chars ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex, DecoderFallbackBuffer &buffer ) : int
InternalGetBytes ( char chars, int charLength, int charIndex, int charCount, byte bytes, int byteIndex, EncoderFallbackBuffer &buffer, char &fallback_chars ) : int

Method Details

ASCIIEncoding() public method

public ASCIIEncoding ( ) : System
return System

GetByteCount() public method

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

GetByteCount() public method

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

GetByteCount() public method

public GetByteCount ( string s ) : int
s string
return int

GetBytes() public method

public GetBytes ( char chars, int charCount, byte bytes, int byteCount ) : int
chars char
charCount int
bytes byte
byteCount 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

GetBytes() public method

public GetBytes ( string s, int charIndex, int charCount, byte bytes, int byteIndex ) : int
s string
charIndex int
charCount int
bytes byte
byteIndex int
return int

GetCharCount() public method

public GetCharCount ( byte bytes, int count ) : int
bytes byte
count 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 byteCount, char chars, int charCount ) : int
bytes byte
byteCount int
chars char
charCount 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

GetString() public method

public GetString ( byte bytes, int index, int count ) : string
bytes byte
index int
count int
return string