Hi folks, I'm using Ktor-io and converting Java In...
# ktor
s
Hi folks, I'm using Ktor-io and converting Java InputStream and OutputStream to Ktor Output and Input, the write and read calls is giving me different results from Java DataOutputStream and Ktor ByteReadChannel. With ByteReadChannel(
InputStream.asByteReadChannel()
) works fine to InputStream, but I was only able to make the project work with Java DataOutputStream. Any of you folks have this same issue before? There is a better way to do a write operation to a OutputStream then with asOutput using Ktor-io?
OutputStream.asOutput()
,
InputStream.asInput()