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 |
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
throw null;
}
private static int GetUnicodeCode(char character) { UTF32Encoding encoding = new UTF32Encoding(); byte[] bytes = encoding.GetBytes(character.ToString().ToCharArray()); return BitConverter.ToInt32(bytes, 0); }