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