encodeToByteArrayNothingWorkaround
@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.encodeToByteArray
Content copied to clipboard
this.encodeToByteArray<T>(value)
Content copied to clipboard