src/vs/platform/native/electron-main/nativeHostMainService.ts/NativeHostMainService/writeClipboardBuffer
class NativeHostMainService:	async writeClipboardBuffer(windowId: number | undefined, format: string, buffer: VSBuffer, type?: 'selection' | 'clipboard'): Promise<void> {
		return clipboard.writeBuffer(format, Buffer.from(buffer.buffer), type);
	}