toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.stream
/
SyncStreamBase
Sync
Stream
Base
open
class
SyncStreamBase
:
Closeable
,
SyncRAInputStream
,
SyncRAOutputStream
,
SyncLengthStream
Inheritors
ByteArrayDequeSyncStream
SequenceSyncStreamBase
SliceSyncStreamBase
FillSyncStreamBase
DequeSyncStreamBase
ReadonlySyncStreamBase
MemorySyncStreamBase
FileSyncStreamBase
Members
Members & Extensions
Constructors
Sync
Stream
Base
Link copied to clipboard
constructor
(
)
Properties
length
Link copied to clipboard
open
override
var
length
:
Long
seekable
Link copied to clipboard
open
val
seekable
:
Boolean
separate
Read
Write
Link copied to clipboard
open
val
separateReadWrite
:
Boolean
small
Temp
Link copied to clipboard
val
smallTemp
:
ByteArray
Functions
cancellable
Link copied to clipboard
fun
Closeable
.
cancellable
(
)
:
Cancellable
close
Link copied to clipboard
open
override
fun
close
(
)
disposable
Link copied to clipboard
fun
Closeable
.
disposable
(
)
:
Disposable
flush
Link copied to clipboard
open
fun
flush
(
)
open
Link copied to clipboard
fun
open
(
position
:
Long
=
0
)
:
SyncStream
read
Link copied to clipboard
fun
read
(
position
:
Long
)
:
Int
open
override
fun
read
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)
:
Int
to
Async
Link copied to clipboard
fun
SyncStreamBase
.
toAsync
(
)
:
AsyncStreamBase
to
Async
In
Worker
Link copied to clipboard
fun
SyncStreamBase
.
toAsyncInWorker
(
)
:
AsyncStreamBase
to
Disposable
Link copied to clipboard
fun
Closeable
.
toDisposable
(
)
:
Disposable
to
Sync
Stream
Link copied to clipboard
fun
SyncStreamBase
.
toSyncStream
(
position
:
Long
=
0
)
:
SyncStream
write
Link copied to clipboard
open
override
fun
write
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)