toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.stream
/
SyncAsyncStreamBase
Sync
Async
Stream
Base
class
SyncAsyncStreamBase
(
val
sync
:
SyncStreamBase
)
:
AsyncStreamBase
Members
Members & Extensions
Constructors
Sync
Async
Stream
Base
Link copied to clipboard
constructor
(
sync
:
SyncStreamBase
)
Properties
sync
Link copied to clipboard
val
sync
:
SyncStreamBase
Functions
close
Link copied to clipboard
open
suspend override
fun
close
(
)
get
Length
Link copied to clipboard
open
suspend override
fun
getLength
(
)
:
Long
has
Length
Link copied to clipboard
open
suspend
fun
hasLength
(
)
:
Boolean
read
Link copied to clipboard
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
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
open
suspend override
fun
write
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)