src/vs/workbench/browser/parts/editor/binaryEditor.ts/BaseBinaryResourceEditor/setInput
class BaseBinaryResourceEditor:	override async setInput(input: EditorInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void> {
		await super.setInput(input, options, context, token);
		const model = await input.resolve();

		// Check for cancellation
		if (token.isCancellationRequested) {
			return;
		}

		// Assert Model instance
		if (!(model instanceof BinaryEditorModel)) {
			throw new Error('Unable to open file as binary');
		}

		// Render Input
		this.inputDisposable.value = this.renderInput(input, options, model);
	}