vertx / io.vertx.kotlin.core.file / io.vertx.core.file.AsyncFile / readAwait

# readAwait

`suspend fun AsyncFile.readAwait(buffer: Buffer, offset: Int, position: Long, length: Int): Buffer`

Suspending version of method io.vertx.core.file.AsyncFile.read

### Parameters

`buffer` - the buffer to read into

`offset` - the offset into the buffer where the data will be read

`position` - the position in the file where to start reading

`length` - the number of bytes to read

Return

Buffer

NOTE: This function has been automatically generated from io.vertx.core.file.AsyncFile using Vert.x codegen.