docs: public static SetOperation wrap(final Memory srcMem, final long seed) {
      final byte famID = srcMem.getByte(FAMILY_BYTE);
      final Family family = idToFamily(famID);
      final int serVer = srcMem.getByte(SER_VER_BYTE);
      if (serVer != 3) {
        throw new SketchesArgumentException("SerVer must be 3: " + serVer);
      }
      switch (family) {
        case UNION : {
          return UnionImpl.wrapInstance(srcMem, seed);
        }
        case INTERSECTION : {
          return IntersectionImplR.wrapInstance(srcMem, seed);
        }
        default:
          throw new SketchesArgumentException("SetOperation cannot wrap family: " + family.toString());
      }
    }