Otter SDK Reference
Version:

ReadFileBytesAsync(IFileOperationsExecuter agent, string path) Method

Reads all file bytes.

Syntax

public static Task<byte[]> ReadFileBytesAsync(IFileOperationsExecuter agent, string path)

Parameters

agent
Type: IFileOperationsExecuter

The agent.

path
Type: string

The path.

Returns

The file bytes.