2024年5月1日发(作者:)
}
///
/// bytes转换hex
///
/// bytes
///
public static string BytesToHex(byte[] data)
{
StringBuilder sbRet = new StringBuilder( * 2);
for (int i = 0; i < ; i++)
{
(ng(data[i], 16).PadLeft(2, '0'));
}
return ng();
}
2024年5月1日发(作者:)
}
///
/// bytes转换hex
///
/// bytes
///
public static string BytesToHex(byte[] data)
{
StringBuilder sbRet = new StringBuilder( * 2);
for (int i = 0; i < ; i++)
{
(ng(data[i], 16).PadLeft(2, '0'));
}
return ng();
}
发布评论