def sendfile(request, filename, attachment=False, attachment_filename=None,
             mimetype=None, encoding=None):
    view = PathDownloadView.as_view(path=filename,
                                    attachment=attachment,
                                    basename=attachment_filename,
                                    mimetype=mimetype,
                                    encoding=encoding)
    return view(request)
Sets the decrypted stream size.
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/shortcuts.py/sendfile--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/file_io/encrypted_stream_io.py/EncryptedStream.SetDecryptedStreamSize