kotlinx-io
kotlinx-io copied to clipboard
Kotlin multiplatform I/O library
There only exists `createDirectories` but not a singular `createDirectory`. A singular `createDirectory` operation has the beneficial feature of a built in assertion that the parent folder already exists. Currently, I...
Fixes #307
Currently, there's no way to read a code point from a source containing UTF-8 encoded data or write a single code point to sink encoding it to UTF-8 along the...
On JVM, instead of reading each character separately and then encoding it to UTF-8 and writing to a buffer, it might be faster to: - extract chars to a CharArray...
NodeJs does not implement WASI's `fs_readdir` on Windows: https://github.com/nodejs/node/blob/6f4d6011ea1b448cf21f5d363c44e4a4c56ca34c/deps/uvwasi/src/uvwasi.c#L19 We need to somehow work around the lack of support to allow file listing on Windows.
We have some intermediate source sets with quirky names (like `nodeFilesystemShared`) that do not extend the API shape and only actualize some expectations for further sharing between multiple targets. Yet,...
Currently, segment pools exist only on JVM (on other platforms, implementations are effectively no-op) and behave more like caches than pools. There are a few directions in which we may/should...
We're not planning to support charsets in the near future (and if we are, then the Stdlib is a better place for them). However, the current API should allow supporting...
kotlinx-io uses a custom UTF-8 encoder and decoder implementations. As part of library stabilization, we need to ensure that these implementations are fully UTF-8 conformant. Unfortunately, UTF-8 does not provide...
Fixes #210 Note: I've also moved `unsafe` package hiding to convention plugin, because AFAIU the same idea of not advertising of this API in official documentation will be applied to...