asBytes

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