in crumb-compiler/src/main/kotlin/com/uber/crumb/internal/wire/MessageSerializedForm.kt [29:37]
fun readResolve(): Any {
val adapter = ProtoAdapter.get(messageClass)
try {
// Extensions will be decoded as unknown values.
return adapter.decode(bytes)
} catch (e: IOException) {
throw StreamCorruptedException(e.message)
}
}