What is the best way to convert a Byte[] to a string?

The best I've been able to come up with is 

    "".join( [chr(x) for x in bytearr] )

but I just know there are better ways than that - surely ..

thanks in advance,

gary


_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to