:wave: Is there plans to add UByte* support to kot...
# io
f
👋 Is there plans to add UByte* support to kotlinx-io? i.e. having this signature function for example:
Copy code
public fun Source.readAtMostTo(sink: UByteArray, startIndex: Int = 0, endIndex: Int = sink.size): Int
I know unsigned types are still flagged as experimental Right now I'm using the function
.toUByteArray()
on the sink after using it; so it's not a blocking issue. Thanks. Regards.
youtrack 1
✅ 1
f
Hi! Thanks for pointing to this missing part. We didn't consider supporting it yet, but it's definitely worth doing so. I opened https://github.com/Kotlin/kotlinx-io/issues/328 on that matter.
f
Thanks 🙂