toggle menu
filesystem
0.0.1
common
switch theme
search in API
filesystem
/
me.zhanghai.kotlin.filesystem
/
FileContent
File
Content
interface
FileContent
:
AsyncCloseable
Members
Members & Extensions
Functions
close
Link copied to clipboard
abstract
suspend
fun
close
(
)
get
Size
Link copied to clipboard
abstract
suspend
fun
getSize
(
)
:
Long
open
Sink
Link copied to clipboard
fun
FileContent
.
openSink
(
position
:
Long
=
0
)
:
AsyncSink
open
Source
Link copied to clipboard
fun
FileContent
.
openSource
(
position
:
Long
=
0
)
:
AsyncSource
read
At
Most
To
Link copied to clipboard
abstract
suspend
fun
readAtMostTo
(
position
:
Long
,
sink
:
Buffer
,
byteCount
:
Long
)
:
Long
set
Size
Link copied to clipboard
abstract
suspend
fun
setSize
(
size
:
Long
)
sync
Link copied to clipboard
abstract
suspend
fun
sync
(
)
write
Link copied to clipboard
abstract
suspend
fun
write
(
position
:
Long
,
source
:
Buffer
,
byteCount
:
Long
)