public static byte[] HexstringToByte(string InString)

{

 

string[] ByteStrings;

 

ByteStrings = InString.Split(" ".ToCharArray());

 

byte[] ByteOut;

 

ByteOut = new byte[ByteStrings.Length];

 

for (int i = 0; i <= ByteStrings.Length - 1; i++)
{



ByteOut[i] = Byte.Parse(ByteStrings[i], System.Globalization.NumberStyles.HexNumber);



}

 

return ByteOut;

 

}

相关文章:

  • 2021-12-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
猜你喜欢
  • 2021-12-02
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
相关资源
相似解决方案