Method | Description | |
---|---|---|
GetByteCount ( char chars, int index, int count ) : int |
Calculates the number of bytes produced by encoding a set of characters from the specified character array.
|
|
GetBytes ( char chars, int start, int count, byte bytes, int byteIndex ) : int |
Encodes a set of characters from a character array into a byte array.
|
|
GetCharCount ( byte bytes, int index, int count ) : int |
Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
|
|
GetChars ( byte bytes, int start, int count, char chars, int charIndex ) : int |
Decodes a sequence of bytes from the specified byte array into the specified character array.
|
|
GetMaxByteCount ( int charCount ) : int |
Calculates the maximum number of bytes produced by encoding the specified number of characters.
|
|
GetMaxCharCount ( int byteCount ) : int |
Calculates the maximum number of characters produced by decoding the specified number of bytes.
|
public GetByteCount ( char chars, int index, int count ) : int | ||
chars | char | |
index | int | |
count | int | |
return | int |
public GetBytes ( char chars, int start, int count, byte bytes, int byteIndex ) : int | ||
chars | char | The character array containing the set of characters to encode. /// |
start | int | The index of the first character to encode. /// |
count | int | The number of characters to encode. /// |
bytes | byte | The byte array to contain the resulting sequence of bytes. /// |
byteIndex | int | The index at which to start writing the resulting sequence of bytes. /// |
return | int |
public GetCharCount ( byte bytes, int index, int count ) : int | ||
bytes | byte | |
index | int | |
count | int | |
return | int |
public GetChars ( byte bytes, int start, int count, char chars, int charIndex ) : int | ||
bytes | byte | The byte array containing the sequence of bytes to decode. /// |
start | int | The index of the first byte to decode. /// |
count | int | The number of bytes to decode. /// |
chars | char | The character array to contain the resulting set of characters. /// |
charIndex | int | The index at which to start writing the resulting set of characters. /// |
return | int |
public GetMaxByteCount ( int charCount ) : int | ||
charCount | int | The number of characters to encode. /// |
return | int |
public GetMaxCharCount ( int byteCount ) : int | ||
byteCount | int | The number of bytes to decode. |
return | int |