Method TryGetSingleArray
TryGetSingleArray(out ReadOnlyMemory<float>)
Gets the items of an array stored as float values, without a copy.
public bool TryGetSingleArray(out ReadOnlyMemory<float> items)
Parameters
itemsReadOnlyMemory<float>The items, when this method returns true.
Returns
- bool
true for an array read from
floatitems or made by FromSingleArray(ReadOnlyMemory<float>); false for any other value, including an array of float values held as a list.