๐๐๐ฒ ๐: Introducing ๐๐ฅ๐จ๐๐ฌ
no, not the slimesโฆ although quite similar in not having a defined form or structure
A Blob (short for Binary Large Object) is an object that represents immutable raw binary data and can take many forms. Itโs commonly used to handle File uploading, Image processing, and large data operations. Blobs can be read as text or binary data or converted into a ReadableStream for further processing.
โ ๐ฝ๐ก๐ค๐ ๐๐ง๐๐๐ฉ๐๐ค๐ฃ:
Blobs are created using the Blob() constructor, which takes an array of parts (data that is stored in the blob), and mainly the type of the blobโs data. For example, text/plain, image/jpeg, application/json, audio/mp3, โฆ
โ ๐พ๐ง๐๐๐ฉ๐๐ฃ๐ ๐ฝ๐ก๐ค๐ ๐๐๐:
Blob URLs allow you to reference Blob objects in your applications as if they were regular URLs. This is particularly useful for creating downloadable links or embedding multimedia content.
โ ๐๐๐ซ๐ค๐ ๐๐ฃ๐ ๐ฝ๐ก๐ค๐ ๐๐๐:
Of course, after you are done with the URL, you need to free up the memory used by the blob URL by revoking it. ![]()
