[IronPython] Convert Byte[] to string?

Gary Stephenson garys at ihug.com.au
Mon Aug 28 16:43:49 PDT 2006


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




More information about the users mailing list