@rendley/sdk - v1.12.6
Preparing search index...
ZipArchive
Class ZipArchive
Index
Constructors
constructor
Methods
add
Data
add
File
add
Files
close
create
destroy
extract
All
extract
File
get
F
Fmpeg
is
Open
list
Files
open
read
File
save
Constructors
constructor
new
ZipArchive
(
ffmpeg
?:
FFmpeg
)
:
ZipArchive
Parameters
Optional
ffmpeg
:
FFmpeg
Returns
ZipArchive
Methods
add
Data
addData
(
path
:
string
,
data
:
Uint8Array
,
takeOwnership
?:
boolean
,
)
:
Promise
<
boolean
>
Parameters
path
:
string
data
:
Uint8Array
takeOwnership
:
boolean
= false
Returns
Promise
<
boolean
>
add
File
addFile
(
path
:
string
,
targetDirectory
?:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
targetDirectory
:
string
= ""
Returns
Promise
<
boolean
>
add
Files
addFiles
(
paths
:
string
[]
,
targetDirectory
?:
string
)
:
Promise
<
boolean
>
Parameters
paths
:
string
[]
targetDirectory
:
string
= ""
Returns
Promise
<
boolean
>
close
close
(
id
:
number
)
:
Promise
<
boolean
>
Parameters
id
:
number
Returns
Promise
<
boolean
>
create
create
(
path
:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
destroy
destroy
()
:
Promise
<
undefined
|
boolean
>
Returns
Promise
<
undefined
|
boolean
>
extract
All
extractAll
(
path
:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
extract
File
extractFile
(
fromPath
:
string
,
toPath
:
string
)
:
Promise
<
boolean
>
Parameters
fromPath
:
string
toPath
:
string
Returns
Promise
<
boolean
>
get
F
Fmpeg
getFFmpeg
()
:
FFmpeg
Returns
FFmpeg
is
Open
isOpen
()
:
boolean
Returns
boolean
list
Files
listFiles
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
open
open
(
path
:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
read
File
readFile
(
path
:
string
)
:
Promise
<
null
|
Uint8Array
<
ArrayBufferLike
>
>
Parameters
path
:
string
Returns
Promise
<
null
|
Uint8Array
<
ArrayBufferLike
>
>
save
save
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Data
add
File
add
Files
close
create
destroy
extract
All
extract
File
get
F
Fmpeg
is
Open
list
Files
open
read
File
save
@rendley/sdk - v1.12.6
Loading...