readAllBytes

open override fun readAllBytes(): ByteArray(source)

Read all bytes into a new array. Only practical for small buffers.