Class ByteEncoding
An encoding for use with file types that have one byte per character
public class ByteEncoding : Encoding, ICloneable
- Inheritance
-
ByteEncoding
- Implements
- Inherited Members
Fields
Instance
The one and only instance of this class
public static readonly ByteEncoding Instance
Field Value
Methods
GetByteCount(char[], int, int)
public override int GetByteCount(char[] chars, int index, int count)
Parameters
Returns
GetBytes(char[], int, int, byte[], int)
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
Parameters
Returns
GetCharCount(byte[], int, int)
public override int GetCharCount(byte[] bytes, int index, int count)
Parameters
Returns
GetChars(byte[], int, int, char[], int)
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
Parameters
Returns
GetMaxByteCount(int)
public override int GetMaxByteCount(int charCount)
Parameters
charCount
int
Returns
GetMaxCharCount(int)
public override int GetMaxCharCount(int byteCount)
Parameters
byteCount
int