IByteTransformTransUInt16 方法 |
名称 | 说明 | |
---|---|---|
TransUInt16(Byte, Int32) |
从缓存中提取ushort结果,需要指定起始的字节索引,按照字节为单位,一个ushort占用两个字节 To extract ushort results from the cache, you need to specify the starting byte index, in bytes, A ushort occupies two bytes | |
TransUInt16(Byte, Int32, Int32) |
从缓存中提取ushort数组结果,需要指定起始的字节索引,按照字节为单位,然后指定提取的 ushort 数组的长度,如果传入 10 ,则表示提取 10 个连续的 ushort 数据,该数据共占用 20 字节。 To extract the ushort array result from the cache, you need to specify the starting byte index, in bytes, and then specify the length of the extracted ushort array. If 10 is passed in, it means to extract 10 consecutive ushort data. Occupies 20 bytes. | |
TransUInt16(Byte, Int32, Int32, Int32) |
从缓存中提取ushort二维数组结果,需要指定起始的字节索引,按照字节为单位,然后指定提取的 ushort 数组的行和列的长度,按照 ushort 为单位的个数。 To extract the result of the ushort 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 ushort array, in terms of the number of ushorts. |