source

Returns a new source that reads from the underlying ByteArray

fun Path.source(start: Long = 0, endInclusive: Long = -1): SdkSource

Create a SdkSource from the given path and range


fun File.source(start: Long = 0, endInclusive: Long = length() - 1): SdkSource

Create an SdkSource from the given file and range


Create a new SdkSource that reads from this InputStream