Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Advanced Search
Search Results
Search Result
Collapse
Search Results:
1 result in 0.0039 seconds.
Keywords
Search in titles only
Members
Started posts only
Search
Tags
Search
c# null character
Sort By
Relevance
Title
Members
Date - started post
Date - last update
Replies
Reactions
Event Start
Trending
Order
Descending
Ascending
aatif
started a topic
how to convert a string of hex chars to ascii, including nulls
in
C Sharp
Mar 12 '09, 10:41 AM
how to convert a string of hex chars to ascii, including nulls
I want to convert a string of hex characters (2 hex chars = 1 byte), to ASCII. Hex chars include zeros (0x00) as well, which I want to include in ASCII string.
hex string: 5000005355....
ASCII: P<null><null>SU ...
I can do it and the string length also includes nulls but when I concatenate other string, it doesn't show as its part.
Code:
string HexValue = "500000535500";
...
See more
|
Go to post
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕