src/vs/editor/common/model/editStack.ts/SingleModelEditStackData/_writeSelectionsSize
class SingleModelEditStackData:	private static _writeSelectionsSize(selections: Selection[] | null): number {
		return 4 + 4 * 4 * (selections ? selections.length : 0);
	}