public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount) { throw null; }
private static int GetUnicodeCode(char character) { UTF32Encoding encoding = new UTF32Encoding(); byte[] bytes = encoding.GetBytes(character.ToString().ToCharArray()); return BitConverter.ToInt32(bytes, 0); }