Skip to content

ReadOnlyMemoryCopier<T> Methods

Copier for System.ReadOnlyMemory.

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.