kotlinx-io icon indicating copy to clipboard operation
kotlinx-io copied to clipboard

Kotlin multiplatform I/O library

Results 176 kotlinx-io issues
Sort by recently updated
recently updated
newest added
trafficstars

With best-effort zero-copy

To give users precise control over count of bytes to read

As one of the most useful shorthands for `readByteArray(arr)`

I want to be able to `limit` an `Input`, but it doesn't seem like the functionality exists. I attempted to implement it with a new `AbstractInput` subclass, but I couldn't...

Design

I encountered few places where I need to either partially read or partially write `Buffer`. For example I read some data read from file with limiting window. I would be...

Another feature I would like to see (and contribute) after io-2 release is the reusable `Input` (and maybe output) abstraction. It could look like [this](https://github.com/mipt-npm/dataforge-core/blob/5265c0e5abe2dd26a64fc90f91ff862eaa30b669/dataforge-io/src/commonMain/kotlin/hep/dataforge/io/Binary.kt#L9-L21). The idea is that we...

I've already encountered multiple cases, where I need to use direct pipe, that has `Output` on one side and an `Input` on the other side. Old io had `copyTo` operation,...

Here are some thoughts about IO format functionality I would like to add as soon as IO-2 is out. The idea is that we can add an easy way to...

I am getting ``` java.nio.BufferOverflowException at java.base/java.nio.Buffer.nextPutIndex(Buffer.java:662) at java.base/java.nio.HeapByteBuffer.put(HeapByteBuffer.java:196) at kotlinx.io.core.IoBuffer.writeByte(IoBufferJVM.kt:164) at kotlinx.io.core.BytePacketBuilderBase.writeByte(Builder.kt:436) ``` in tests when I run a lot of tests simultaniously. When I run them individually, everything...