square / okio

A modern I/O library for Android, Java, and Kotlin Multiplatform.
https://square.github.io/okio/
Apache License 2.0
8.81k stars 1.18k forks source link

Implement transferTo method in RealBufferedSource.inputStream #1501

Closed iseki0 closed 2 months ago

iseki0 commented 3 months ago

Avoid unnecessary memory copying, during transfer data between streams.

iseki0 commented 3 months ago

Since I can't run the check process... I manually edit it.

iseki0 commented 3 months ago

@oldergod Looks like it's not relate to me?

iseki0 commented 3 months ago
* What went wrong:
Could not determine the dependencies of task ':kotlinNodeJsSetup'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
   > Could not download node-21.4.0-win-x64.zip (org.nodejs:node:21.4.0)
      > Could not get resource 'https://nodejs.org/dist/v21.4.0/node-v21.4.0-win-x64.zip'.

         > Read timed out
> Could not resolve all files for configuration ':detachedConfiguration1'.
For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   > Could not download node-21.0.0-v8-canary202309143a48826a08-darwin-arm64.tar.gz (org.nodejs:node:21.0.0-v8-canary202309143a48826a08)
      > Could not get resource 'https://nodejs.org/download/v8-canary/v21.0.0-v8-canary202309143a48826a08/node-v21.0.0-v8-canary202309143a48826a08-darwin-arm64.tar.gz'.
         > Read timed out

Maybe we should cache it?

iseki0 commented 3 months ago

@oldergod 😉 It's OK

iseki0 commented 3 months ago

@swankjesse Any updates? 😊

iseki0 commented 2 months ago

@JakeWharton done