Forums - C# Corner

Forum guidelines
kyle

kyle

  • 0
  • 0
  • 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)

Startup Conference 2016

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.