Another strange question from me.
I have this code:
byte[] chks = Get64bitData();
string str = Encoding.UTF8.GetString(chks);
byte[] bts = Encoding.UTF8.GetBytes(str);
Method Get64bitData
returns 8 bytes array, then array got converted to string.
And then code converts string to byte array again, BUT new array is now has 16 bytes!
What type of hell is this and how avoid it?
Get64bitData
is actually UTF8 text?chks
.