Slice()

ReadOnlyMemory::Slice(int32_t, int32_t) const method

Creates a slice of the current readonly memory.

ReadOnlyMemory System::ReadOnlyMemory<T>::Slice(int32_t start, int32_t length) const

Arguments

ParameterTypeDescription
startint32_tThe starting index of the slice.
lengthint32_tThe number of elements in the slice.

Return Value

A ReadOnlyMemory object representing the requested slice.

See Also