Skip to content

MemoryCopier<T> Methods

Copier for System.Memory.

DeepCopy(Memory<T>, CopyContext)

View source
public Memory<T> DeepCopy(Memory<T> input, CopyContext context)
Creates a deep copy of the provided input.

Parameters

inputMemory<T>
The input.
contextCopyContext
The context.

Returns

A copy of input.