decodeTo

inline fun <T : Any> ByteArray.decodeTo(): T