docs: def close(self):
          """Closes out the stream."""
          _LOGGER.debug("Closing stream")
          if not hasattr(self, "footer"):
              raise SerializationError("Footer not read")
          super(StreamDecryptor, self).close()