code: def loads(self, data):
          
          st = BytesIO(data)
          try:
              return self.load(st)
          finally:
              st.close()
docs: Deserializes the given byte array into an object and returns it.