ElectronClipboard.writeBuffer method
ElectronClipboard › writeBuffer
Unofficial
Writes a buffer to the clipboard as the specified format.Signature:
writeBuffer(format: string, buffer: Buffer, type?: "clipboard" | "selection" | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| format | string | The format to write. |
| buffer | Buffer | The buffer to write. |
| type? | "clipboard" | "selection" | undefined | The clipboard type. |
Returns: void