Interface IIOImp
Contract for all IO related functionality that is not supported by portable libraries. Implement this interface in a platform dependent implementation library for each platform that needs to be supported.
Namespace: Fusee.Base.Common
Assembly: Fusee.Base.Common.dll
Syntax
public interface IIOImp
Methods
StreamFromFile(String, FileMode)
Opens a file and returns its contents as a System.IO.Stream.
Declaration
Stream StreamFromFile(string path, FileMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to the file to open. |
FileMode | mode | The file mode (read, write, append). |
Returns
Type | Description |
---|---|
System.IO.Stream | The stream specified by path. |