encodeToByteArrayNothingWorkaround

@ExperimentalSerializationApi
inline fun <T> ProtoBuf.encodeToByteArrayNothingWorkaround(value: T): ByteArray(source)

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
this.encodeToByteArray<T>(value)