docs: public static DeserializeResult<DoubleSummary> fromMemory(final Memory mem) {
      return new DeserializeResult<>(new DoubleSummary(mem.getDouble(VALUE_DOUBLE),
          Mode.values()[mem.getByte(MODE_BYTE)]), SERIALIZED_SIZE_BYTES);
    }