asByteArray

abstract fun asByteArray(): ByteArray

Returns the value from this RealmAny as a ByteArray.

Throws

if the stored value cannot be safely converted to ByteArray.