This article mainly introduces the use of in-depth analysis of Blob objects in HTML5. It is the basic knowledge in the introduction to HTML5. Friends who need it can refer to it.
There is a bit of conceptual difference between the Blob object in HTML5 and the BLOB type in MYSQL. The BLOB type in MYSQL is just a binary data container. In addition to storing binary data, the Blob object in HTML5 can also set the MINE type of this data, which is equivalent to storing files. Many other binary objects are also inherited from this object.
In a slightly lower version of modern browser, this Blob object has not been normalized yet, so it needs to be created in a way like BlobBuilder. But now the Blob has been standardized to create a Blob, which can be directly new to its constructor, and the browser has almost supported this method, so there is no need to worry about the old standards.
CSS Code Copy content to clipboard