RegularByteTransformTransInt16 方法 (Byte, Int32, Int32, Int32) |
从缓存中提取short二维数组结果,需要指定起始的字节索引,按照字节为单位,然后指定提取的 short 数组的行和列的长度,按照 short 为单位的个数。
To extract the result of a short two-dimensional array from the cache, you need to specify the starting byte index, in bytes,
and then specify the length of the rows and columns of the extracted short array, in terms of the number of shorts.
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public short[,] TransInt16(
byte[] buffer,
int index,
int row,
int col
)
Public Function TransInt16 (
buffer As Byte(),
index As Integer,
row As Integer,
col As Integer
) As Short(,)
public:
virtual array<short,2>^ TransInt16(
array<unsigned char>^ buffer,
int index,
int row,
int col
) sealed
abstract TransInt16 :
buffer : byte[] *
index : int *
row : int *
col : int -> int16[,]
override TransInt16 :
buffer : byte[] *
index : int *
row : int *
col : int -> int16[,]
参数
- buffer
- 类型:SystemByte
缓存数据 - index
- 类型:SystemInt32
索引位置 - row
- 类型:SystemInt32
二维数组行 - col
- 类型:SystemInt32
二维数组列
返回值
类型:
Int16二维short数组
实现
IByteTransformTransInt16(Byte, Int32, Int32, Int32)参见