anchor.diff:   */
   List<int> _rsForneySyndrome(List<int> synd, List<int> pos, int nmess) {
     List<int> fsynd = new List.from(synd);
  -  for (int i = 0; i < pos.length; i++) {
  -    int x = GF_EXP[nmess - 1 - pos[i]];
  +  pos.forEach((int value) {
  +    int x = GF_EXP[nmess - 1 - value];
       for (int j = 0; j < fsynd.length - 1; j++) {
         fsynd[j] = gfMultiply(fsynd[j], x) ^ fsynd[j + 1];
       }
       fsynd.removeLast();
  -  }
  +  });
     return fsynd;
   }
   
  
positive.code:   return []..addAll(message_out);
  }
  
  
  int _max(List<int> list) {
    int r = null;
    for (int i = 1; i < list.length; i++) {
  
negative.code:   List<int> eval = _rsFindErrorEvaluator(reversed, loc, pos.length - 1);
    List<int> locprime = <int>[];
    bool skipNext = false;
    locprime.addAll(loc.skip(loc.length & 1).where((int value) {
      skipNext = !skipNext;
      return skipNext;
    }));
    pos.forEach((int value) {
      int x = GF_EXP[value + 256 - message.length];
      int y = gfPolynomialEval(eval, x);
      int z = gfPolynomialEval(locprime, gfMultiply(x, x));
      int magnitude = gfDivide(y, gfMultiply(x, z));
      message[value] ^= magnitude;
    });
    return message;
  }
  
  