Interface IScheme
Namespace: AssetRipper.IO.Files
Assembly: AssetRipper.IO.Files.dll
Syntax
public interface IScheme
Methods
| Improve this Doc View SourceCanRead(SmartStream)
Checks if the file can be read by this scheme.
Declaration
bool CanRead(SmartStream stream)
Parameters
Type | Name | Description |
---|---|---|
SmartStream | stream | The stream for the file. |
Returns
Type | Description |
---|---|
System.Boolean | True if the file can be read. |
Remarks
Implementations are expected to reset the stream
to its initial position.
Read(SmartStream, String, String)
Declaration
FileBase Read(SmartStream stream, string filePath, string fileName)
Parameters
Type | Name | Description |
---|---|---|
SmartStream | stream | |
System.String | filePath | |
System.String | fileName |
Returns
Type | Description |
---|---|
FileBase |