decodeFromByteArrayNothingWorkaround
@ExperimentalSerializationApi
Deprecated
The `Nothing` type is supported by kotlinx.serialization by default now. See https://github.com/Kotlin/kotlinx.serialization/issues/932 and https://github.com/Kotlin/kotlinx.serialization/pull/2150 .
Replace with
import kotlinx.serialization.decodeFromByteArray
Content copied to clipboard
this.decodeFromByteArray<T>(bytes)
Content copied to clipboard