Function collections::slice::raw::buf_as_sliceExperimental
[-]
[+]
[src]
pub unsafe fn buf_as_slice<T, U>(p: *const T, len: uint, f: |&[T]| -> U) -> U
Form a slice from a pointer and length (as a number of units, not bytes).