readBytes
Read the specified number of bytes specified (optional, read all remaining by default)
Deprecated
Use readByteArray instead
Replace with
import kotlinx.io.readByteArray
Content copied to clipboard
this.readByteArray()
Content copied to clipboard
Read exactly n bytes (consumes all remaining if n is not specified but up to Int.MAX_VALUE bytes). Does fail if not enough bytes remaining.
Deprecated
Use readByteArray instead
Replace with
this.readByteArray(count)
Content copied to clipboard