Only Memory<T>.Try Copy To(Memory<T>) Method
Tries to copy the contents of the readonly-only memory into the destination and returns a value that indicates whether the copy operation succeeded.
public: bool TryCopyTo(Memory<T> destination);
public bool TryCopyTo (Memory<T> destination);
member this.TryCopyTo : Memory<'T> -> bool
Public Function TryCopyTo (destination As Memory(Of T)) As Boolean
The memory region to copy items into.
true if the copy operation succeeded.
destination is smaller than the current instance, and no data is written to
If the source and destination overlap, this method behaves as if the original values are in a temporary location before the destination is overwritten.