BufferedFileChannel

class BufferedFileChannel(channel: FileChannel, readBufferSize: Int, writeBufferSize: Int, alloc: ByteBufAllocator = ByteBufAllocator.DEFAULT) : Flushable, Closeable

Constructors

Link copied to clipboard
constructor(channel: FileChannel, readBufferSize: Int, writeBufferSize: Int, alloc: ByteBufAllocator = ByteBufAllocator.DEFAULT)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun flush()
Link copied to clipboard
fun read(pos: Long, dest: ByteBuf, len: Int)
Link copied to clipboard
fun size(): Long
Link copied to clipboard
fun write(pos: Long, src: ByteBuf, len: Int)