Umi — API References - v1.3.0
Preparing search index...
umi
createGenericFile
Function createGenericFile
createGenericFile
(
content
:
string
|
Uint8Array
<
ArrayBufferLike
>
,
fileName
:
string
,
options
?:
GenericFileOptions
,
)
:
GenericFile
Creates a new
GenericFile
from a buffer and a file name.
Parameters
content
:
string
|
Uint8Array
<
ArrayBufferLike
>
fileName
:
string
options
:
GenericFileOptions
= {}
Returns
GenericFile
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Creates a new GenericFile from a buffer and a file name.