You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The Blob interface's size property returns the size of the Blob in bytes.
51
-
*/
57
+
* The Blob interface's size property returns the size of the Blob in bytes.
58
+
*/
52
59
getsize(){
53
60
returnwm.get(this).buffer.byteLength;
54
61
}
55
62
56
63
/**
57
-
* The type property of a Blob object returns the MIME type of the file.
58
-
*/
64
+
* The type property of a Blob object returns the MIME type of the file.
65
+
*/
59
66
gettype(){
60
67
returnwm.get(this).type;
61
68
}
62
69
63
70
/**
64
-
* The text() method in the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
65
-
*/
71
+
* The text() method in the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
72
+
*/
66
73
asynctext(){
67
74
returnwm.get(this).buffer.toString();
68
75
}
69
76
70
77
/**
71
-
* The arrayBuffer() method in the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
72
-
*/
78
+
* The arrayBuffer() method in the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.
0 commit comments