Skip to content

ReadOnlyMemoryCopier<T>.DeepCopy(ReadOnlyMemory<T>, CopyContext)

DeepCopy(ReadOnlyMemory<T>, CopyContext)

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

Parameters

inputReadOnlyMemory<T>
The input.
contextCopyContext
The context.

Returns

A copy of input.