-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong write bytes with macosX64 target #407
Comments
You need to use a SystemFileSystem.sink( Path("$projectPath/newFile")).buffered().use { sink ->
sink.write(bytes)
} |
You should also |
@JakeWharton
|
Fair enough, the documentation could definitely be improved here.
Could you please elaborate why that seems strange?
Assuming the same number of bytes were written into a |
Problem
Error copy file via kotlinx-io, ( copy bytes from one file to another)
in my case i have different size of files
How to reproduce:
At the moment i can reproduce it only with macOS targest ( don't have the linux machine )
kotlin-io.zip
Or use unpack archive and do
The text was updated successfully, but these errors were encountered: