如何将unsigned char数组转换为string

时间:2015-10-01 08:30:30

标签: winforms visual-c++

如何将以下unsigned char转换为string

arry<unsigned char>^arrayOne = {0,1,2,3};

textbox1->Text = BitConverter::ToString(arrayOne);

我试过以下

unsigned char data[128];

textbox1->Text = BitConverter::ToString(data);

哪个失败并产生以下错误消息:

System::BitConverter::ToString
none of the 4 overloads could convert all the argument types

0 个答案:

没有答案