Slice()

Memory::Slice(int32_t, int32_t) const method

Creates a slice of the current memory.

Memory System::Memory<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 Memory object representing the requested slice.

See Also