I am calling a 3rd party win32 api function that is returning binary data from a mainframe into a StringBuilder type parameter. This function also takes a length parameter to tell it how big the StringBuilder buffer is.
My question is, how to I format this binary data as a hex string? That is, if the buffer contains two bytes, a binary 0 and a binary 10 (decimal), I return "0A". Thanks =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
