anchor.diff:            _writeFloat(val);
           } else if (val is bool) {
             _writeBool(val);
  -        } else if (val == Null) {
  +        } else if (val == null) {
             _writeNull();
           } else {
             print(
  
positive.code:         _writeBytes(typed.Uint8Buffer()..addAll(element));
        } else if (element is bool) {
          _writeBool(element);
        } else if (element == Null) {
          _writeNull();
        } else if (element is List) {
          if (!indefinite) {
  
negative.code:               _out.putByte(byte);
              }
            }
          }
        } else if (val is Map) {
          if (!indefinite) {
            final res = _writeMapImpl(val as Map, indefinite);
            if (!res) {
              // Fail the whole encoding
              ok = false;
            }
          } else {
            for (final byte in val.values) {
              _out.putByte(byte);
            }
          }
        } else {
          if (val is int) {
  