JavaScripture
Contribute via GitHub
Feedback
FileSystemWritableFileStream
Instance Methods
seek
truncate
write
FileAPI API
All API
No API set selected.
FileSystemWritableFileStream
:
WritableStream
Spec
Instance Methods
seek
(
position
:
Number
) :
Promise
<
undefined
>
truncate
(
size
:
Number
) :
Promise
<
undefined
>
write
5 variants
write
(
arrayBuffer
:
ArrayBuffer
) :
Promise
<
undefined
>
write
(
arrayBufferView
:
ArrayBufferView
) :
Promise
<
undefined
>
write
(
blob
:
Blob
) :
Promise
<
undefined
>
write
(
string
:
String
) :
Promise
<
undefined
>
write
(
writeParams
:
Object
) :
Promise
<
undefined
>
writeParams
: {
data
:
Object
Must be of type
ArrayBuffer
,
ArrayBufferView
,
Blob
, or
String
.
position
:
Number
size
:
Number
type
:
String
Must be one of
'write'
,
'seek'
,
'truncate'
}
home
license
contribute
feedback
toggle light/dark mode
Copyright © JavaScripture Contributors