//reikai-core/io.github.kerelape.reikai.io.filesystem/RandomAccessFileChannel
RandomAccessFileChannel
[JVM]
class RandomAccessFileChannel(channel: AsynchronousFileChannel, parent: RandomAccessSource) : RandomAccessChannel
Random Access File channel.
Since
0.0.0
Constructors
| RandomAccessFileChannel | [JVM] fun RandomAccessFileChannel(channel: AsynchronousFileChannel, parent: RandomAccessSource) |
Functions
| Name | Summary |
|---|---|
| close | [JVM] open suspend override fun close(): RandomAccessSource Close the channel. |
| dataize | [JVM] open suspend override fun dataize(): ByteArray |
| get | [JVM] open suspend override fun get(position: Entity, size: Entity): Entity Retrieve chunk of data. |
| put | [JVM] open suspend override fun put(position: Entity, data: Entity): Entity Put data and the position. |