decodeFromByteArray
decodeFromByteArray attempts to convert a ByteArray into type T Any required dependencies should be provided via the constructor of the implementing class
Return
T The implemented generic type
Parameters
bytes
an optional ByteArray, usually from a file read