decodeFromByteString
Decodes material from the given byteString encoded in the specified format and returns the resulting instance of M.
Throws an exception if the bytes are not valid for the given format or do not represent well-formed material.
Use decodeFromByteStringBlocking when calling from non-suspending code.