unpack

Unpacks a packed slice.

The functions does not allocate any data.

@optmath
Slice!(Iterator, N + M, min(innerKind, Canonical))
unpack
(
Iterator
size_t M
SliceKind innerKind
size_t N
SliceKind outerKind
)
(
Slice!(SliceIterator!(Iterator, M, innerKind), N, outerKind) slice
)

Parameters

slice Slice!(SliceIterator!(Iterator, M, innerKind), N, outerKind)

packed slice

Return Value

Type: Slice!(Iterator, N + M, min(innerKind, Canonical))

unpacked slice, that is a view on the same data.

See Also

Meta