Sahil Malik <(E-Mail Removed)> wrote:
> System.Byte[] inputData;
> string inputstream = System.Text.Encoding.ASCII.GetString(inputData) ;
>
> Thats it !!
Again, that's it if Encoding.ASCII *happens* to be the encoding you
want.
The code is going to be simple virtually whatever encoding you're
interested in, but working out which encoding is the right one to use
is very important - much more so than your post implied.
--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too