toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.stream
/
DequeSyncStreamBase
Deque
Sync
Stream
Base
class
DequeSyncStreamBase
(
val
deque
:
ByteArrayDeque
=
ByteArrayDeque()
)
:
SyncStreamBase
Members
Members & Extensions
Constructors
Deque
Sync
Stream
Base
Link copied to clipboard
constructor
(
deque
:
ByteArrayDeque
=
ByteArrayDeque()
)
Properties
deque
Link copied to clipboard
val
deque
:
ByteArrayDeque
length
Link copied to clipboard
open
override
var
length
:
Long
seekable
Link copied to clipboard
open
override
val
seekable
:
Boolean
separate
Read
Write
Link copied to clipboard
open
override
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
open
override
fun
read
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)
:
Int
fun
read
(
position
:
Long
)
:
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
)