This class is a character encoding
that encodes Unicode characters as
7-bit ASCII characters. ASCII uses the first 128 chayracters of a
Unicode encoding.
public class ASCIIEncoding : Encoding {
// Public Constructors
public ASCIIEncoding( );
// Public Instance Methods
public override int GetByteCount(char[ ] chars, int index, int count)
// overrides Encoding
public override int GetByteCount(string chars);
// overrides Encoding
public override int GetBytes(char[ ] chars, int charIndex, int charCount, byte[ ] bytes,
int byteIndex)
// overrides Encoding
public override int GetBytes(string chars, int charIndex, int charCount, byte[ ] bytes,
int byteIndex)
// overrides Encoding
public override int GetCharCount(byte[ ] bytes, int index, int count)
// overrides Encoding
public override int GetChars(byte[ ] bytes, int byteIndex, int byteCount, char[ ] chars,
int charIndex)
// overrides Encoding
public override int GetMaxByteCount(int charCount);
// overrides Encoding
public override int GetMaxCharCount(int byteCount);
// overrides Encoding
public override string GetString(byte[ ] bytes);
// overrides Encoding
public override string GetString(byte[ ] bytes,
// overrides Encoding
int byteIndex, int byteCount);
}