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

``` ERROR in .._imported/kotlinx-io/0.1.13/kotlinx-io.js Module not found: Error: Can't resolve 'text-encoding' in 'D:\Work\Projects\dataforge-core\build\js\packages_imported\kotlinx-io\0.1.13' ```

Okio 2 is also making an effort to multiplatform base on kotlin. And the functions provided by core are supported by Okio. So, why not to concern to use Okio...

https://github.com/Kotlin/kotlinx-io/blob/2b54f00af7346ed9ff52213b33821e2d588ea3e4/core/commonMain/src/kotlinx/io/InputOperations.kt#L64-L65 This two statements together mean that returned array is always empty and pointer not advanced. I recommend adding tests for that.

Basically identical to https://github.com/Kotlin/kotlinx.coroutines/issues/1797 but affects multiplatform projects using kotlinx-io because the same module name exists in `kotlinx-io` and `kotlinx-io-jvm`. Note even removing the `kotlinx-io:1.1.6` dependency doesn't help because it's...

In 0.1.16, `ChannelAsInput.readFully(ByteBuffer)` throws an `IllegalArgumentException: Not enough bytes available (0) to read 128 bytes`, when a similar call using a `ByteArray` instead of a `ByteBuffer` works fine. e.g.: ```kotlin...

In Bytes#append function, limits seems to grow too big. This is current code with a comment that shows the problem ```kotlin if (tail == buffers.size) { buffers = buffers.copyInto(arrayOfNulls(buffers.size *...

Hello everyone, I would like to know if this library had support for communication over serial for receiving packets and sending them back. Thanks in advance.

I'm mostly thinking of `androidNativeArm64`, `androidNativeArm32` and `wasm` but you might as well just publish for all them. I want to get a Vulkan sample working on native android and...

To properly evaluate end of file and safely treat trailing read symbol after `\r` in `readUTF8Line`. I do not see safe way to implement it without changing how `decodeUTF8Chars` works....

CharsetEncoder.encodeToImpl() does not terminate when calling it with e.g. `\uD800\uDCA6` (𐂦) . I'm currently using kotlinx.io v 1.1.4.