Function std::slice::raw::buf_as_sliceDeprecated [-]  [+] [src]

pub unsafe fn buf_as_slice<T, U, F>(p: *const T, len: uint, f: F) -> U

Form a slice from a pointer and length (as a number of units, not bytes).