T
Trecius
Hello, Newsgroupians:
I've a question regarding Hexadecimal to binary conversion.
Suppose I have a long hexadecimal string, and I would like to convert it to
a binary string. How can I accomplish this with minimal code? I've seen
other posts, but they are restricted to the size of the hexadecimal string,
for they use Convert.ToString(...).
EXA:
string str = "FA38";
string binStr = SomeClass.Hex2Bin(str);
This would produce the following output...
"1111101000111000"
Thank you,
Trecius
I've a question regarding Hexadecimal to binary conversion.
Suppose I have a long hexadecimal string, and I would like to convert it to
a binary string. How can I accomplish this with minimal code? I've seen
other posts, but they are restricted to the size of the hexadecimal string,
for they use Convert.ToString(...).
EXA:
string str = "FA38";
string binStr = SomeClass.Hex2Bin(str);
This would produce the following output...
"1111101000111000"
Thank you,
Trecius