toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.fs
/
FileSystemWritableFileStream
File
System
Writable
File
Stream
external
class
FileSystemWritableFileStream
:
WritableStream
<
FileSystemWriteChunkType
>
(
source
)
Available only in secure contexts.
MDN Reference
Members
Properties
locked
Link copied to clipboard
val
locked
:
Boolean
Functions
abort
Link copied to clipboard
suspend
fun
abort
(
reason
:
JsError
?
)
abort
Async
Link copied to clipboard
fun
abortAsync
(
reason
:
JsError
?
)
:
Promise
<
Void
>
close
Link copied to clipboard
suspend
fun
close
(
)
close
Async
Link copied to clipboard
fun
closeAsync
(
)
:
Promise
<
Void
>
get
Writer
Link copied to clipboard
fun
getWriter
(
)
:
WritableStreamDefaultWriter
<
FileSystemWriteChunkType
>
seek
Link copied to clipboard
suspend
fun
seek
(
position
:
JsLong
)
MDN Reference
seek
Async
Link copied to clipboard
fun
seekAsync
(
position
:
JsLong
)
:
Promise
<
Void
>
truncate
Link copied to clipboard
suspend
fun
truncate
(
size
:
JsLong
)
MDN Reference
truncate
Async
Link copied to clipboard
fun
truncateAsync
(
size
:
JsLong
)
:
Promise
<
Void
>
write
Link copied to clipboard
suspend
fun
write
(
data
:
FileSystemWriteChunkType
)
MDN Reference
write
Async
Link copied to clipboard
fun
writeAsync
(
data
:
FileSystemWriteChunkType
)
:
Promise
<
Void
>