Search
Preparing search index...
The search index is not available
onex-utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
onex-utils
data/blobToDataURL
Module data/blobToDataURL
Index
Functions
blob
ToDataURL
Functions
Const
blob
ToDataURL
0.0.35
provide
blob
ToDataURL
(
blob
:
Blob
|
File
)
:
Promise
<
string
|
ArrayBuffer
>
将 file、blob、stream 格式 转 DateURL
remarks
将blob对象转为DataUrl类型的数据
throws
{@link ProgressEvent}
Parameters
blob:
Blob
|
File
Returns
Promise
<
string
|
ArrayBuffer
>
Exports
data/blob
ToDataURL
blob
ToDataURL
将 file、blob、stream 格式 转 DateURL
将blob对象转为DataUrl类型的数据
{@link ProgressEvent}