toggle menu
korge-root
5.1.0
common
js
switch theme
search in API
korge-core
/
korlibs.io.runtime.deno
/
DenoAsyncStreamBase
Deno
Async
Stream
Base
js
class
DenoAsyncStreamBase
(
val
file
:
DenoFsFile
)
:
AsyncStreamBase
Members
Members & Extensions
Constructors
Deno
Async
Stream
Base
Link copied to clipboard
js
constructor
(
file
:
DenoFsFile
)
Properties
file
Link copied to clipboard
js
val
file
:
DenoFsFile
Functions
close
Link copied to clipboard
js
open
suspend override
fun
close
(
)
get
Length
Link copied to clipboard
js
open
suspend override
fun
getLength
(
)
:
Long
has
Length
Link copied to clipboard
js
open
suspend
fun
hasLength
(
)
:
Boolean
read
Link copied to clipboard
js
open
suspend override
fun
read
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)
:
Int
read
Bytes
Link copied to clipboard
suspend
fun
AsyncStreamBase
.
readBytes
(
position
:
Long
,
count
:
Int
)
:
ByteArray
set
Length
Link copied to clipboard
js
open
suspend override
fun
setLength
(
value
:
Long
)
to
Async
Stream
Link copied to clipboard
fun
AsyncBaseStream
.
toAsyncStream
(
)
:
AsyncStream
fun
AsyncStreamBase
.
toAsyncStream
(
position
:
Long
=
0
)
:
AsyncStream
to
Sync
Or
Null
Link copied to clipboard
fun
AsyncStreamBase
.
toSyncOrNull
(
)
:
SyncStreamBase
?
write
Link copied to clipboard
js
open
suspend override
fun
write
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)