diff --git a/doc/api/buffer.md b/doc/api/buffer.md index a9f9a148fdcc11..4ffd229cefa34f 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -593,6 +593,18 @@ added: Returns a promise that fulfills with the contents of the `Blob` decoded as a UTF-8 string. +### `blob.textStream()` + + + +* Returns: {ReadableStream} + +Returns a new `ReadableStream` that allows the content of the `Blob` to be read +as a stream of UTF-8 decoded strings. It is equivalent to piping +[`blob.stream()`][] through a [`TextDecoderStream`][] set up with UTF-8. + ### `blob.type`