A
Anibal David Acosta F.
I use C# and need to get the ASCII code of a 8bit character.
When I use the Convert.ToByte() function, it throw an error when the
character is above the 127, for example the char: Ñ
The function: System.Text.ASCIIEncoding.Default.GetBytes() work fine but it
return an array of bytes and I need to use in this way:
System.Text.ASCIIEncoding.Default.GetBytes("Ñ")(0)
And i think that is very poor for performance.
Thanks guys.
AA
When I use the Convert.ToByte() function, it throw an error when the
character is above the 127, for example the char: Ñ
The function: System.Text.ASCIIEncoding.Default.GetBytes() work fine but it
return an array of bytes and I need to use in this way:
System.Text.ASCIIEncoding.Default.GetBytes("Ñ")(0)
And i think that is very poor for performance.
Thanks guys.
AA