点击或拖拽改变大小

SoftBasicGetFromAsciiStringRender 方法

从显示的ASCII格式的字符串,转为原始字节数组,如果遇到 \00 这种表示原始字节的内容,则直接进行转换操作,遇到 \r 直接转换 0x0D, \n 直接转换 0x0A
Convert from the displayed string in ASCII format to the original byte array. If you encounter \00, which represents the original byte content, the conversion operation is performed directly. When encountering \r, it is directly converted to 0x0D, and \n is directly converted to 0x0A.

命名空间:  HslCommunication.BasicFramework
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static byte[] GetFromAsciiStringRender(
	string render
)

参数

render
类型:SystemString
等待转换的字符串

返回值

类型:Byte
原始字节数组
参见