lib/core.js
function getOffsetValues(start, length, correction) {
    var adapter = this.adapter;
    var values = [];

    correction += (start * 2); // offset the positioning query

    for (var i = 0; i < length; i++) {
      values.push(adapter.at((i * 2) + correction));
    }

    return values;
  }
function getOffsetValues(start, length, correction) {
    var adapter = this.adapter;
    var values = [];

    correction += (start * 2); // offset the positioning query

    for (var i = 0; i < length; i++) {
      values.push(adapter.at((i * 2) + correction));
    }

    return values;
  }
function getOffsetValues ( start , length , correction ) { var adapter = this . adapter ; var values = [ ] ; correction += ( start * 2 ) ; // offset the positioning query for ( var i = 0 ; i < length ; i ++ ) { values . push ( adapter . at ( ( i * 2 ) + correction ) ) ; } return values ; }
Return the unpacked values for a particular offset.

@param {Integer} start
@param {Integer} length
@param {Integer} correction The step to skip for each iteration
(as the response body is [min, max, min, max...])
@return {Array.<Integer>}
Return the unpacked values for a particular offset .