readToEnd

open suspend override fun readToEnd(sizeLimit: UInt): ByteArray

Read until end-of-stream, with size_limit as a maximum.