Merge pull request #2866 from joaquinelio/patch-9

GB unit symbol
This commit is contained in:
Ilya Kantor 2022-02-08 08:22:48 +03:00 committed by GitHub
commit d7c8c7506e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,7 @@ blob.arrayBuffer().then(buffer => /* process the ArrayBuffer */);
## From Blob to stream
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.
When we read and write to a blob of more than `2 GB`, 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>. Streams are convenient for data that is suitable for processing piece-by-piece.