readAll

open suspend override fun readAll(): UByteArray

Returns all data in one byte array and closes itself.

Throws