- Add the constructors
MemoryView{T}(x)
andMemoryView{T, M}(x)
, allowing e.g.ImmutableMemoryView{UInt8}(x)
. These will succeed ifx
is backed by memory of eltypeT
. - Add a method for
Iterators.reverse(::MemoryView)
MemoryView{T}(x)
and MemoryView{T, M}(x)
, allowing e.g. ImmutableMemoryView{UInt8}(x)
. These will succeed if x
is backed by memory of eltype T
.Iterators.reverse(::MemoryView)