docs: public static UpdateSketch wrap(final WritableMemory srcMem, final long seed) {
      final int  preLongs = srcMem.getByte(PREAMBLE_LONGS_BYTE) & 0X3F;
      final int serVer = srcMem.getByte(SER_VER_BYTE) & 0XFF;
      final int familyID = srcMem.getByte(FAMILY_BYTE) & 0XFF;
      final Family family = Family.idToFamily(familyID);
      if (family != Family.QUICKSELECT) {
        throw new SketchesArgumentException(
          "A " + family + " sketch cannot be wrapped as an UpdateSketch.");
      }
      if ((serVer == 3) && (preLongs == 3)) {
        return DirectQuickSelectSketch.writableWrap(srcMem, seed);
      } else {
        throw new SketchesArgumentException(
          "Corrupted: An UpdateSketch image: must have SerVer = 3 and preLongs = 3");
      }
    }