blah blah blah is here! blah blah » Close

0
votes
1 answers

Best way to convert large decimal value(string type) to Hexadecimal in C#??

What is the best way to convert large decimal value(string type) to Hexadecimal in C#? I know this may sound stupid but I just need to do this operation. Ex: string strDecValue = "12345678901234567890123456789012345678901234 ...

2
votes
3 answers

C# Printing HEX to file

foamy
2499

Hi all, I'm doing a project that involves sending a file to a major corporation. This file needs to contain a "EBCDIC HEX 1C" character as a segment terminator. I've tried using the code below, but apparently it ain't right :-/ ...

1
votes
1 answers

How to convert a hex string to a byte array?

Rick_A
761

I have a hex string that I want to convert into a byte array, how can I do this? I would then want to convert a byte array back to the hex string. Is there built in methods to convert hex to a byte array in c#?

0
votes
1 answers

serial port hex Reading in C #

Hi guys, I am reading some data from serial port and its in hex format... How do i store it and use bit-wise operators on it... & | etc.. Example : my incoming data is "pp10A0p" Now i need to take only th ...

0
votes
1 answers

Convert String from HEX to DEC to ASCII.

I need to have this conversion, from HEX to DEC to ASCII. or if possible, direct conversion from HEX to ASCII. e.g input string = 01344583 (HEX) intermediate string = 20202883 (DEC) string abc = "01344583"; int def = i ...

Feedback