点击或拖拽改变大小

ByteTransformBase.TransByte 方法 (String, Int32, Encoding)

使用指定的编码字符串转化缓存数据,指定转换之后的字节长度信息
Use the specified encoding string to convert the cached data, specify the byte length information after conversion

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

参数

value
类型:System.String
等待转化的数据
length
类型:System.Int32
转换之后的数据长度
encoding
类型:System.Text.Encoding
字符串的编码方式

返回值

类型:Byte[]
buffer数据

实现

IByteTransform.TransByte(String, Int32, Encoding)
参见