Click or drag to resize

ModReadBytesAsync 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#
public abstract UniTask<byte[]> ReadBytesAsync(
	string path
)
Request Example View Source

Parameters

path
Type: SystemString

Return Value

Type: UniTaskByte
Contents of the file as a byte array.
See Also