Skip to content

okio / okio / BufferedSource / readByteArray

readByteArray

(js, jvm, native) abstract fun readByteArray():ByteArray

Removes all bytes from this and returns them as a byte array.

(js, jvm, native) abstract fun readByteArray(byteCount:Long):ByteArray

Removes byteCount bytes from this and returns them as a byte array.