Truncated
The asynchronous file request has completed but one or more of the read operations were truncated.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Field
- Namespace: Unity.IO.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
Truncated = 4
Remarks
A truncated read occurs when the ReadCommand describing the read operation specifies a and that extends past the end of the target file. After the read operation is complete, use ReadHandle.GetBytesRead to get the total number of bytes read for a request, or GetBytesReadAtIndex to get the number of bytes read for a single ReadCommand. A truncated read does not typically indicate a problem; all data in the file is read and no extra bytes are copied to your read buffer.
SizeOffset