System::ReadOnlyMemory::Slice method

ReadOnlyMemory::Slice method

Creates a slice of the current readonly memory.

ReadOnlyMemory System::ReadOnlyMemory<T>::Slice(int32_t start, int32_t length) const
ParameterTypeDescription
startint32_tThe starting index of the slice.
lengthint32_tThe number of elements in the slice.

ReturnValue

A ReadOnlyMemory object representing the requested slice.

See Also