minor fixes
This commit is contained in:
parent
f95671cd28
commit
71da17e596
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ blob.arrayBuffer().then(buffer => /* process the ArrayBuffer */);
|
|||
|
||||
When we read and write to a blob of more than `2G`, the use of `arrayBuffer` becomes more memory intensive for us. At this point, we can directly convert the blob to a stream.
|
||||
|
||||
A stream is a special object that allows to read from it (or write into it) portion by portion. It's outside of our scope here, but here's an example, and you can read more at <https://developer.mozilla.org/en-US/docs/Web/API/Streams_API>.
|
||||
A stream is a special object that allows to read from it (or write into it) portion by portion. It's outside of our scope here, but here's an example, and you can read more at <https://developer.mozilla.org/en-US/docs/Web/API/Streams_API>. Streams are convenient for data that is suitable for processing piece-by-piece.
|
||||
|
||||
The `Blob` interface's `stream()` method returns a `ReadableStream` which upon reading returns the data contained within the `Blob`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue