I came across the `ByteReadChannel.toInputStream()...
# ktor
r
I came across the
ByteReadChannel.toInputStream()
method with a strange signature: it has an unused parameter, suppresses the warning about it, and is not mentioned in the KDoc: https://github.com/ktorio/ktor/blob/main/ktor-io/jvm/src/io/ktor/utils/io/jvm/javaio/Blocking.kt Is there a specific reason for this, or is it just an oversight?
a
The signature has been intentionally left unchanged after migration to the kotlinx-io library to preserve backward compatibility.
👍 1