fetchBytes

expect open override fun fetchBytes(url: Url): ByteArray

Downloads the content at url.

Return

raw bytes of the resource

Parameters

url

resource to download

Throws

if the resource cannot be retrieved

if the resource does not exist

actual open override fun fetchBytes(url: Url): ByteArray

Downloads the content at url.

Return

raw bytes of the resource

Parameters

url

resource to download

Throws

if the resource cannot be retrieved

if the resource does not exist