vertx / io.vertx.reactivex.core.file / AsyncFile / setReadBufferSize

setReadBufferSize

open fun setReadBufferSize(readBufferSize: Int): AsyncFile

Sets the buffer size that will be used to read the data from the file. Changing this value will impact how much the data will be read at a time from the file system.

Parameters

readBufferSize - the buffer size

Return
a reference to this, so the API can be used fluently