source

fun ByteArray.source(offset: Int = 0): Source(source)

Creates a Source reading from this byte array.

Return

A Source that reads from the byte array starting at the specified offset.

Parameters

offset

The offset in the byte array from which to start reading.