Skip to content

discussions Search Results · repo:square/okio language:Java

Filter by

14 results
 (55 ms)

14 results

insquare/okio (press backspace or delete to remove)

I remember years ago watching a presentation about okio buffers using and reusing segments that contain the actual byte arrays, and avoiding a whole bunch of copying + being very performant when dealing ...

Hi how to convert from byteArray into file image in kotlin multiplatform ios and android?

I m currently maintaining a library (avro4k, that is apache avro format for kotlin) and I think that okio would be really powerful as a multiplatform streaming input and output. I would like to encode ...

The most important method of the AsyncTimeout object isn t well documented. Reading the documentation is is not immediately clear that the user is supposed to inherit from AsyncTimeout and override the ...

Hi, I downloaded jar from https://mvnrepository.com/artifact/com.squareup.okio/okio-jvm/3.0.0 And found below manifest: Manifest-Version: 1.0 Automatic-Module-Name: okio Bnd-LastModified: 1635459848508 ...

I have a Java (Maven) project that uses okio.BufferedSink: https://github.com/takari/aether-connector-okhttp/blob/master/src/main/java/io/takari/aether/okhttp/OkHttpAetherClient.java Everything was working ...
  • Qicharposted
    on Aug 19, 2023
  • 1

I ve got a use case where I need to implement skipping efficiently due to a file type. I wonder if it would be feasible to add a signature to Source like: /** * Iterates the internal source forward ...
  • Nava2posted
    on Aug 11, 2023
  • 3

Is there a way to get a Source and a Sink for a unix domain socket?

Does this trace mean anything to anyone here? W/Firestore( 5850): (24.1.1) [WatchStream]: (150415a) Stream closed with status: Status{code=INTERNAL, description=error in frame handler, cause=java.lang.NoSuchMethodError: ...

Hi, how to use Okio in kotlin multiplatform? I want to use openZip function, but I couldn t find in documentation how to properly get FileSystem. Most of examples use FileSystem.System but it won t work. ...