locked
Hexadecimal string to byte array RRS feed

  • Question

  • Is there a simple way of converting a hexadecimal string to a byte array?

    carstenh_in
    Tuesday, April 21, 2009 3:39 AM

Answers

  • Easiest is probably something like this

    byte [] Data = SoapHexBinary.Parse("DEADBEEF").Value;
    • Marked as answer by Zhi-Xin Ye Monday, April 27, 2009 3:21 PM
    Tuesday, April 21, 2009 5:05 AM

All replies