sink
abstract fun sink(outputPath: <Error class: unknown class>, mustCreate: Boolean = false): <Error class: unknown class>
Opens an output stream that will be used to write the data on the given outputPath
Return
the Sink stream of data to be written
Parameters
outputPath
the path where the data will be eventually written
mustCreate
whether to force the creation of the outputPath if it doesn't exist on the current file system