
## convert(inputStream, loadOptions, outputStream, saveOptions) {#buffer_loadoptions_buffer_saveoptions}

Converts document using specified input output streams and save options.


```js
convert(inputStream: Buffer, loadOptions: Aspose.Words.Loading.LoadOptions, outputStream: Buffer, saveOptions: Aspose.Words.Saving.SaveOptions)
```

| Parameter | Type | Description |
| --- | --- | --- |
| inputStream | Buffer | The input stream. |
| loadOptions | [LoadOptions](../../../aspose.words.loading/loadoptions/) | The document load options. |
| outputStream | Buffer | The output stream. |
| saveOptions | [SaveOptions](../../../aspose.words.saving/saveoptions/) | The save options. |

### See Also

* module [Aspose.Words](../../)
* class [IDocumentConverterPlugin](../)

