Click or drag to resize

ResourceManagerSaveBytesAsync Method (ResourceFolder, String, Byte)

Save binary content asynchronously to a file.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static UniTask<bool> SaveBytesAsync(
	ResourceFolder folder,
	string file,
	byte[] bytes
)
Request Example View Source

Parameters

folder
Type: KitResourceFolder
The folder where the file should exist.
file
Type: SystemString
The path and file-name relative to the folder.
bytes
Type: SystemByte
The byte array to save.

Return Value

Type: UniTaskBoolean
Whether the file was successfully saved.
See Also