Skip to content

IOFile.TryLoadInto Method

Definition

Attempts to load the file data into the specified memory span.

public virtual bool TryLoadInto(Span<Byte> memory);

View source

Parameters

Name Type Description
memory Span<Byte> The memory span to load the data into.

Returns

Boolean

true if the data was loaded successfully; false otherwise.