Set the raw binary content of the stream using data read from a
file. If the file cannot be read then an exception is thrown.
Compression settings are unaltered. So if - for example - you
have a stream which is Flate compressed you must use SetFile with
Flate compressed data.
For this reason you may wish to call ClearData before using SetFile.
|