asBytes

Casts this ImageInputSource as a Bytes and retrieves its kotlin.ByteArray value. Throws an exception if the ImageInputSource is not a Bytes.