toggle menu
korge-root
5.1.0
common
jvm
switch theme
search in API
korge-core
/
korlibs.io.stream
/
FileSyncStreamBase
File
Sync
Stream
Base
jvm
class
FileSyncStreamBase
(
val
file
:
File
,
val
mode
:
String
=
"r"
)
:
SyncStreamBase
Members
Members & Extensions
Constructors
File
Sync
Stream
Base
Link copied to clipboard
jvm
constructor
(
file
:
File
,
mode
:
String
=
"r"
)
Properties
file
Link copied to clipboard
jvm
val
file
:
File
length
Link copied to clipboard
jvm
open
override
var
length
:
Long
mode
Link copied to clipboard
jvm
val
mode
:
String
ra
Link copied to clipboard
jvm
val
ra
:
RandomAccessFile
seekable
Link copied to clipboard
jvm
open
val
seekable
:
Boolean
separate
Read
Write
Link copied to clipboard
jvm
open
val
separateReadWrite
:
Boolean
small
Temp
Link copied to clipboard
jvm
val
smallTemp
:
ByteArray
Functions
cancellable
Link copied to clipboard
fun
Closeable
.
cancellable
(
)
:
Cancellable
close
Link copied to clipboard
jvm
open
override
fun
close
(
)
disposable
Link copied to clipboard
fun
Closeable
.
disposable
(
)
:
Disposable
flush
Link copied to clipboard
jvm
open
fun
flush
(
)
open
Link copied to clipboard
jvm
fun
open
(
position
:
Long
=
0
)
:
SyncStream
read
Link copied to clipboard
jvm
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
jvm
open
override
fun
write
(
position
:
Long
,
buffer
:
ByteArray
,
offset
:
Int
,
len
:
Int
)