Link Search Menu Expand Document

//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

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.