WsTCP. GetData sRec
Sheet1. Range (" B3 "). The Value=https://bbs.csdn.net/topics/Han2Hex (sRec)
CodePudding user response:
What is your Han2Hex a logical luoMore than 80 out of the question, basically because 80 is actually a binary, 1000, 0000, the beginning of the highest level is 1, if the bit as digital processing or as the sign bit processing have differences
CodePudding user response:
The original poster is in accordance with the "text" way to deal with the byte data?CodePudding user response:
WsTCP. GetData back with variables of type Byte array to receive, if use the string variable, more than 7 f when would be a problemCodePudding user response:
3 f is'? 'the ASCII code, when you use the String, which can't identify characters were system use'? 'replacement,If there is a printable characters of bytes, with a Byte array processing,