Function sallyport::host::deref_slice
source · [−]Expand description
Validates that data
contains len
elements of type T
at offset
and returns a mutable slice pointer to the first element on success.
Safety
Callers must ensure that pointer is correctly aligned before accessing it.