我正在尝试弄清楚如何将从给定位置(SequenceOffset)开始的数据块中的连续字节添加到一定长度(SequenceLength),方法是将它们类型转换为带符号的16位整数(Int16_t)。sequenceLength is the number of bytes in the sequence, and*
* Returns: the sum of the int16contains an odd number
我试图找出如何在数据块中从给定的偏移量(SequenceOffset)开始,向sequenceLength添加顺序字节,方法是将它们类型转换为带符号的16位整数(Int16_t)。我觉得我并没有正确地增加偏移量,但我无法理解它是如何实现的。例如,:57 AB 2A 2C 4E A4 7A 64你说的总和是: 2