Interface IFileRead
Module to load file
Namespace: Pixiv.VroidSdk.IO
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface IFileRead
Methods
IsFileExist(String)
Check if file exists
Declaration
bool IsFileExist(string filePath)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | File path to be checked |
Returns
Type | Description |
---|---|
Boolean | File exists or not |
Load(String)
Load file
Declaration
byte[] Load(string filePath)
Parameters
Type | Name | Description |
---|---|---|
String | filePath | File name to be loaded |
Returns
Type | Description |
---|---|
Byte[] | Decrypted binary |
Exceptions
Type | Condition |
---|---|
FileNotFoundException | File does not exist |