Click here to Skip to main content
15,886,101 members
Articles / Programming Languages / C# 4.0

High performance C# byte array to hex string to byte array

27 Aug 2012Ms-PL3 min read 99.7K   26  
Conversion of bytes to hex string and vice versa is a common task with a variety of implementations. The performance key point for each to/from conversion is the (perpetual) repetition of the same if blocks and calculations that is the standard approach for all implementations I've seen.
This is an old version of the currently published article.

Only logged in members can view this content

Please go to the C# 4.0 Table of Contents to view the list of available articles in this section.