Example is not working correctly due to encoding
Closed this issue · 0 comments
D4rWiNSS commented
Hi there!
I just noticed that the example that you give in the README is not working. You can test with those lines
byte[] message2 = Encoding.ASCII.GetBytes("Hello Server");
var test = new ArraySegment<byte>(message2);
string result = BitConverter.ToString(test.Array, test.Offset, test.Count);
the result variable has the following value 48-65-6C-6C-6F-20-53-65-72-76-65-72