docs: def generate_view(ase):
          # type: (blobxfer.models.azure.StorageEntity) ->
          #       Tuple[LocalPathView, int]
          """Generate local path view and total size required
          :param blobxfer.models.azure.StorageEntity ase: Storage Entity
          :rtype: tuple
          :return: (local path view, allocation size)
          """
          slicesize = blobxfer.models.download.Descriptor.compute_allocated_size(
              ase.size, ase.is_encrypted)
          if ase.vectored_io is None:
              view = LocalPathView(
                  fd_start=0,
                  fd_end=slicesize,
              )
              total_size = slicesize
          else:
              view = LocalPathView(
                  fd_start=ase.vectored_io.offset_start,
                  fd_end=ase.vectored_io.offset_start + slicesize,
              )
              total_size = ase.vectored_io.total_size
          return view, total_size