V
Viorel
For me is a little bit mysterious how work encoding and decoding functions,
what is underneath of their calling?
Encoding1.GetBytes(string1); in particularly ASCII.GetBytes(string1)
Encoding1.GetChars(string1);
Encoding1.GetChars(arrayofbytes1);
string1=Encoding1.GetString(arrayofbytes1);
If I know (perhaps) that a char is based on 2 bytes (16 bits)
and all Strings in C#(NET) are a set of chars
P.S. Please explain on plane of working with bytes (I come from C world)
I will appreciate
what is underneath of their calling?
Encoding1.GetBytes(string1); in particularly ASCII.GetBytes(string1)
Encoding1.GetChars(string1);
Encoding1.GetChars(arrayofbytes1);
string1=Encoding1.GetString(arrayofbytes1);
If I know (perhaps) that a char is based on 2 bytes (16 bits)
and all Strings in C#(NET) are a set of chars
P.S. Please explain on plane of working with bytes (I come from C world)
I will appreciate