470,811 Members | 1,144 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

convert Byte() to string

Hi,

how can I convert a 1-dimensional array of type byte() to string under VB.net?

Greetings,

Peter
Apr 13 '06 #1
2 1500
Use the System.Text.Encoding.ASCII.GetString method.
"Peter Schmitz" <Pe**********@discussions.microsoft.com> wrote in message
news:05**********************************@microsof t.com...
Hi,

how can I convert a 1-dimensional array of type byte() to string under
VB.net?

Greetings,

Peter

Apr 13 '06 #2
Stephany Young <noone@localhost> wrote:
Use the System.Text.Encoding.ASCII.GetString method.


Or rather, use Encoding.GetString, using the appropriate instance of
the Encoding class, depending on what encoding was used to turn the
text into a sequnce of bytes to start with.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Apr 13 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Nathan | last post: by
1 post views Thread by Swarup | last post: by
6 posts views Thread by Ricardo Quintanilla | last post: by
6 posts views Thread by Bob Altman | last post: by
12 posts views Thread by Peter | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.