Forums - C# Corner

Forum guidelines


  • 0
  • 48
  • 0

Convert from hexadecimal to bytes

Nov 25 2008 8:53 PM
Hello Everyone,

I am reading in hexadecimal values into a C# program that are coming in the serial port buffer as ASCII text representation of hex.  I need to convert this down to the bit level so I can see certain 0's become 1's when specific switches are toggled.  How would I accomplish this?

Thank you in advance for your help.

Answers (14)

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!