 | ModManagerReadBytesAsync Method (ResourceFolder, String) |
Read the contents of a file asynchronously in text-mode.
Namespace:
Kit.Modding
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static UniTask<byte[]> ReadBytesAsync(
ResourceFolder folder,
string file
)
Request Example
View SourceParameters
- folder
- Type: KitResourceFolder
The folder to read the file from. - file
- Type: SystemString
The path and file-name relative to the folder.
Return Value
Type:
UniTaskByteContents of the file as a byte array.
See Also