|
C#...Converting Binary Data to ASCII
Hello I am working on a C# application that is to read a file with binary data (in format of 00 A0 B2 E0 23 and so on and so forth, the file is multiple lines as well). I need the data to be read in and then from each group I need that value converted to its ASCII value (like 00 should produce 0 and 65 should produce A). Once I have a string of the corresponding ASCII characters I will be in good shape. I have been running around on this and am having no luck. Tried using Binaryreader and that takes each digit, don't want that.
Thanks for any help!!
|