XtremeKevinChow / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

NetUtility.ToHexString(byte[] data) improvement #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/lidgren-network-gen3/source/browse/trunk/Lidgren.Networ
k/NetUtility.cs#149
sb.Append(b.ToString("X2"));

=)

Original issue reported on code.google.com by imho.sapiens@gmail.com on 7 Aug 2010 at 2:05

GoogleCodeExporter commented 9 years ago
BitConverter.ToString(data).Replace("-", "")

It what I always used.

Original comment by shawnand...@gmail.com on 7 Aug 2010 at 11:59

GoogleCodeExporter commented 9 years ago
Optimized in revision 93.

--michael

Original comment by lidg...@gmail.com on 8 Aug 2010 at 7:39