471,605 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

byte[] to hex

What's the way to convert a byte[4] to a hexadecimal?

Jan 30 '06 #1
1 2033
Water Cooler v2 wrote:
What's the way to convert a byte[4] to a hexadecimal?


Do you mean to a hex string? Convert.ToString(byte[]) is the easiest
way, although it puts a hyphen between each byte which you may not
what.

Jon

Jan 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by David Cook | last post: by
8 posts views Thread by intrepid_dw | last post: by
6 posts views Thread by Dennis | last post: by
4 posts views Thread by Frederick Gotham | last post: by
10 posts views Thread by Scott Townsend | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.