K
Kenneth Priisholm
Hi there.
I'm trying to find a built-in function in the framework for converting
binary formatted strings into either bytes or HEX-values; something that
works in a similar fashion as BitConverter.ToString(byte[]), which converts
a byte-array into HEX, or Convert.ToString(byte, 2), which converts a byte
into a binary string - just the other way arround.
Am I just looking in the wrong direction, or is there really no built-in
function/formatter for this task? Since I've browsed msdn and all sorts of
sites, but so far haven't had any luck, it seems, that the task must be so
trivial that it's hardly documented - or what?
Thank you in advance!
Best regards,
Ken.
I'm trying to find a built-in function in the framework for converting
binary formatted strings into either bytes or HEX-values; something that
works in a similar fashion as BitConverter.ToString(byte[]), which converts
a byte-array into HEX, or Convert.ToString(byte, 2), which converts a byte
into a binary string - just the other way arround.
Am I just looking in the wrong direction, or is there really no built-in
function/formatter for this task? Since I've browsed msdn and all sorts of
sites, but so far haven't had any luck, it seems, that the task must be so
trivial that it's hardly documented - or what?
Thank you in advance!
Best regards,
Ken.