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