IOFile.TryLoadInto Method
Definition
Attempts to load the file data into the specified memory span.
public virtual bool TryLoadInto(Span<Byte> memory);
Parameters
| Name | Type | Description |
|---|---|---|
memory |
Span<Byte> |
The memory span to load the data into. |
Returns
true if the data was loaded successfully; false otherwise.