using System;
using System.IO;
using System.Text;
using System.Windows.Media;
using System.Windows.Media.Imaging;
publicstaticclass Tool
{
publicstatic string ByteArrayToString(byte[] arrB)
{
StringBuilder sb = new StringBuilder();
sb.Append("[");
foreach (byte b in arrB)
{
sb.Append(b.ToString() + "?");
}
return sb.ToString().Trim(',') + "]";
}
}