tempfile-istream

Crates.iotempfile-istream
lib.rstempfile-istream
version1.0.4
sourcesrc
created_at2022-02-07 23:48:29.17998
updated_at2022-05-20 05:20:36.621299
descriptionCOM IStream on an exclusive temp file which is deleted on release
homepage
repositoryhttps://github.com/wravery/tempfile-istream
max_upload_size
id528729
size12,435
Bill Avery (wravery)

documentation

README

tempfile-istream

This is a read/write implementation of the windows crate's Windows::Win32::System::Com::IStream interface backed by a temp file on disk. The temp file is created with SHCreateStreamOnFileEx, using FILE_ATTRIBUTE_TEMPORARY and FILE_FLAG_DELETE_ON_CLOSE so it will be deleted by the OS as soon as the last reference to the IStream is dropped.

It is intended as an alternative to SHCreateMemStream or CreateStreamOnHGlobal, both of which will hold the entire stream in memory.

Commit count: 17

cargo fmt