-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
IllegalArgumentException when trying to write a file #1457
Comments
That code is not responsible for the exception, although you're missing a call to The problem with the actual offending code is that you're passing more than |
The lack of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created the code with Ktor and Okio to stream download a file:
This function works well with most files, but I noticed that sometimes I throws the following exception that seems to be coming from
okio.Buffer#readByteString
:Do you have any idea what could be happening here? This is a KMP program running in a Mac.
Thanks!
The text was updated successfully, but these errors were encountered: