Kit Documentation
Kit Documentation
Kit Reference
Kit.Modding Namespaces
Kit.Modding
Mod Class
Mod Methods
ExecuteScripts Method
ExecuteScriptsAsync Method
Exists Method
FindFiles Method
Load Method
LoadAsync Method
LoadEx Method
LoadExAsync Method
ReadBytes Method
ReadBytesAsync Method
ReadText Method
ReadTextAsync Method
Unload Method
Mod
ReadBytesAsync Method
Read the contents of a file asynchronously in binary-mode.
Namespace:
Kit.Modding
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
abstract
UniTask
<
byte
[]>
ReadBytesAsync
(
string
path
)
Request Example
View Source
Parameters
path
Type:
System
String
Return Value
Type:
UniTask
Byte
Contents of the file as a byte array.
See Also
Reference
Mod Class
Kit.Modding Namespace
Send comments on this topic to
agam@frag-games.com