StreamFile

fun StreamFile(    file: File,     readOnly: Boolean = false,     initialSize: Long = -1,     readBufferSize: Int = 0)

Constructs file stream from File.


fun StreamFile(    filename: String,     readOnly: Boolean = false,     initialSize: Long = -1,     readBufferSize: Int = 0)