serialize({ write }) {
		if (this._needMerge) this._merge();
		write(this._set.size);
		for (const item of this._set) write(item);
	}
@param {import("../serialization/ObjectMiddleware").ObjectSerializerContext} context context