readFile

abstract suspend external fun readFile(options: FileHandleReadFileBufferAsyncOptions? = definedExternally): NonSharedBuffer(source)
abstract suspend external fun readFile(options: FileHandleReadFileStringAsyncOptions): String(source)
abstract suspend external fun readFile(): Any(source)


abstract suspend external fun readFile(options: BufferEncoding): String(source)
abstract suspend external fun readFile(options: FileHandleReadFileAsyncOptions? = definedExternally): Any(source)
abstract suspend external fun readFile(options: BufferEncoding? = definedExternally): Any(source)

Asynchronously reads the entire contents of a file. The underlying file will not be closed automatically. The FileHandle must have been opened for reading.