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

Now that #131 is done (and with more work down the road to stabilize and make it full featured), this library should eventually become a good alternative to Okio. Given...

enhancement
Design
integration

It seems that `NSData` is the Foundation type to represent immutable byte arrays, which means it corresponds to `ByteString` in purpose. It would be great to have these conversions in...

enhancement
Design
integration

In the same vibe as https://github.com/Kotlin/kotlinx-io/issues/266 and https://github.com/Kotlin/kotlinx-io/issues/268, it would be nice to have built-in conversions in `kotlinx-io-bytestring` for the JVM `ByteBuffer` type for a full multi-platform experience. Examples: ```kotlin...

enhancement
Design
integration

In the same vibe as https://github.com/Kotlin/kotlinx-io/issues/266, we could add conversions from JS binary types like `ArrayBuffer`, `Blob`, `Int8Array`... Dealing with binary data in JS is a bit annoying. For example,...

enhancement
Design
integration

These unsafe operations are really needed for any zero-copy conversion between `ByteString` and other immutable APIs, or between representations that the developer knows will not be mutated during their lifespan....

Design
API improvement

This current "safe" constructor doesn't feel right. It has the following drawbacks: * the constructor syntax implies "wrapping" (as if the array is used as a property), but what actually...

Design
API improvement

In #256 I refactored the interop with nodeJs modules providing filesystem support. If previously, only functionality related to files and filesystem didn't work in a browser (with UnsupportedOperationException being thrown),...

bug

Currently, all operations in `Buffer` operate with `byte[]` abstraction, meaning that any compound operation incurs overhead from reading and combining individual bytes. Apart from (potentially non-optimizable) overhead, such an implementation...

enhancement

I require an equivalent for `java.io.File.canRead()` and `java.io.File.canWrite()` to determine whether it's possible to read from or write to a file. This information is important in the case of Ashampoo...

enhancement
fs

Listing files within a directory is one of the few file APIs my library tests require that `kotlinx-io` doesn't currently support. Similar API references: * [JVM File.listFiles](https://docs.oracle.com/javase/8/docs/api/java/io/File.html#listFiles--) * [Apple Foundation...

enhancement
Design
fs