Synced
ArtifactLease.ReadAllBytes
Section titled “ArtifactLease.ReadAllBytes”
- Reads one indexed payload through this lease’s independently pinned stream.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public byte[] Inno.Assets.ArtifactLease.ReadAllBytes()Returns
Section titled “Returns”Newly owned bytes with the exact indexed length; oversized or truncated payloads fail explicitly.
Exceptions
Section titled “Exceptions”Exception T:System.IO.InvalidDataException: The payload exceeds the supported array size or does not have its indexed length.