toObject

open fun <T> toObject(data: Array<Byte>, type: Class<T>): T