点击或拖拽改变大小

IByteTransformTransByte 方法 (String, Encoding)

使用指定的编码字符串转化缓存数据
Use the specified encoding string to convert the cached data

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
byte[] TransByte(
	string value,
	Encoding encoding
)

参数

value
类型:SystemString
等待转化的数据
encoding
类型:System.TextEncoding
字符串的编码方式

返回值

类型:Byte
buffer数据
参见