docs: function decompressDeltas18Bit (buffer) {
    let D = new Array(k.OBCIGanglionSamplesPerPacket); // 2
    D[0] = [0, 0, 0, 0];
    D[1] = [0, 0, 0, 0];
  
    let receivedDeltas = [];
    for (let i = 0; i < k.OBCIGanglionSamplesPerPacket; i++) {
      receivedDeltas.push([0, 0, 0, 0]);
    }
  
    let miniBuf;
  
    // Sample 1 - Channel 1
    miniBuf = new Buffer(
      [
        (buffer[0] >> 6),
        ((buffer[0] & 0x3F) << 2) | (buffer[1] >> 6),
        ((buffer[1] & 0x3F) << 2) | (buffer[2] >> 6)
      ]
    );
    receivedDeltas[0][0] = convert18bitAsInt32(miniBuf);
  
    // Sample 1 - Channel 2
    miniBuf = new Buffer(
      [
        (buffer[2] & 0x3F) >> 4,
        (buffer[2] << 4) | (buffer[3] >> 4),
        (buffer[3] << 4) | (buffer[4] >> 4)
      ]);
    // miniBuf = new Buffer([(buffer[2] & 0x1F), buffer[3], buffer[4] >> 2]);
    receivedDeltas[0][1] = convert18bitAsInt32(miniBuf);
  
    // Sample 1 - Channel 3
    miniBuf = new Buffer(
      [
        (buffer[4] & 0x0F) >> 2,
        (buffer[4] << 6) | (buffer[5] >> 2),
        (buffer[5] << 6) | (buffer[6] >> 2)
      ]);
    receivedDeltas[0][2] = convert18bitAsInt32(miniBuf);
  
    // Sample 1 - Channel 4
    miniBuf = new Buffer(
      [
        (buffer[6] & 0x03),
        buffer[7],
        buffer[8]
      ]);
    receivedDeltas[0][3] = convert18bitAsInt32(miniBuf);
  
    // Sample 2 - Channel 1
    miniBuf = new Buffer(
      [
        (buffer[9] >> 6),
        ((buffer[9] & 0x3F) << 2) | (buffer[10] >> 6),
        ((buffer[10] & 0x3F) << 2) | (buffer[11] >> 6)
      ]);
    receivedDeltas[1][0] = convert18bitAsInt32(miniBuf);
  
    // Sample 2 - Channel 2
    miniBuf = new Buffer(
      [
        (buffer[11] & 0x3F) >> 4,
        (buffer[11] << 4) | (buffer[12] >> 4),
        (buffer[12] << 4) | (buffer[13] >> 4)
      ]);
    receivedDeltas[1][1] = convert18bitAsInt32(miniBuf);
  
    // Sample 2 - Channel 3
    miniBuf = new Buffer(
      [
        (buffer[13] & 0x0F) >> 2,
        (buffer[13] << 6) | (buffer[14] >> 2),
        (buffer[14] << 6) | (buffer[15] >> 2)
      ]);
    receivedDeltas[1][2] = convert18bitAsInt32(miniBuf);
  
    // Sample 2 - Channel 4
    miniBuf = new Buffer([(buffer[15] & 0x03), buffer[16], buffer[17]]);
    receivedDeltas[1][3] = convert18bitAsInt32(miniBuf);
  
    return receivedDeltas;
  }