sink
Deprecated
Use FileSystem.sink instead
Replace with
import kotlinx.io.files.FileSystem
Content copied to clipboard
SystemFileSystem.sink(this).buffered()
Content copied to clipboard
Returns RawSink for the given path, creates file if it doesn't exist, throws if it's a directory, overwrites contents.
Use of this method is deprecated with warning since kotlinx-io 0.3.0. The method will be removed in 0.7.0.