I have an input file which has list of Hex Word records, like this "e000483c", "0120003d". I would like to read them and store as Hex numbers rather as a string. Each Hex number is a 32 bit word and should be able to process it further byte-wise. The input file can have large records, is there any faster and reliable way to achieve this?
The problem I am facing really is, if try to process the word byte wise after reading as string using stream reader or File.ReadAllLines, those are considered as characters. For example, I want 'e' to be read as '0xe' not as '0x65'.
Ultimately I want to interpret "e000483c" as "0xe000483c".