Helps in handling MemoryStreams and files.
More...
Helps in handling MemoryStreams and files.
◆ LoadFileIntoStream()
static MemoryStream Ict.Common.IO.TFileHelper.Streams.FileHandling.LoadFileIntoStream |
( |
string |
AFilePath | ) |
|
|
inlinestatic |
Loads a file into a MemoryStream object.
- Parameters
-
AFilePath | Filename (including Path) to read from. |
- Returns
- A MemoryStream with the contents of the File specified in AFilePath .
◆ SaveStreamToFile()
static void Ict.Common.IO.TFileHelper.Streams.FileHandling.SaveStreamToFile |
( |
Stream |
AStream, |
|
|
string |
AFilePath |
|
) |
| |
|
inlinestatic |
Saves a Stream into a file.
- Parameters
-
AStream | The Stream whose contens should be saved to the file. |
AFilePath | Filename (including Path) to write to. |
- Returns
- void
The documentation for this class was generated from the following file: