diff options
Diffstat (limited to 'doc/api/buffer.md')
-rw-r--r-- | doc/api/buffer.md | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md index f35c2f9ce6f..7106d5c6b36 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -507,6 +507,15 @@ added: v15.7.0 Creates and returns a new `Blob` containing a subset of this `Blob` objects data. The original `Blob` is not altered. +### `blob.stream()` +<!-- YAML +added: REPLACEME +--> + +* Returns: {ReadableStream} + +Returns a new `ReadableStream` that allows the content of the `Blob` to be read. + ### `blob.text()` <!-- YAML added: v15.7.0 @@ -514,8 +523,8 @@ added: v15.7.0 * Returns: {Promise} -Returns a promise that resolves the contents of the `Blob` decoded as a UTF-8 -string. +Returns a promise that fulfills with the contents of the `Blob` decoded as a +UTF-8 string. ### `blob.type` <!-- YAML |