
## read(src, loadOptions, document) {#buffer_loadoptions_document}

Reads the data from the specified stream into the [Document](../../document/) instance.



```js
read(src: Buffer, loadOptions: Aspose.Words.Loading.LoadOptions, document: Aspose.Words.Document)
```

| Parameter | Type | Description |
| --- | --- | --- |
| src | Buffer | The source stream to read the document from. |
| loadOptions | [LoadOptions](../../../aspose.words.loading/loadoptions/) | An additional load options to load the document. |
| document | [Document](../../document/) | The instance of the [Document](../../document/) class to read the data to.  If the instance contains some content, it will be overridden by the data from the source stream |

### See Also

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

