public int getOffsetInHost(int offsetInDecoded) {
      if (lengthIfNoShifts >= 0) {
        return offsetInDecoded <= lengthIfNoShifts ? offsetInDecoded : -1;
      }
      else {
        return offsetInDecoded < sourceOffsets.length ? sourceOffsets[offsetInDecoded] : -1;
      }
    }
public int getOffsetInHost(int offsetInDecoded)