Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReadCommand

Describes the offset, size, and destination buffer of a single read operation.
Read time 1 minuteLast updated 6 days ago

Definition

public struct ReadCommand

Remarks

If the asynchronous file read request results in a ReadStatus.Truncated or ReadStatus.Failed state the
Size
field will be updated with the actual number of bytes read.

Fields

Value

Description

BufferThe buffer that receives the read data.
OffsetThe offset where the read begins, within the file.
SizeThe size of the read in bytes.