std::slice::from_raw_parts will now panic if the ptr is null. Resolve this by adding our own wrapper that translates that case to an empty slice.
std::slice::from_raw_parts will now panic if the ptr is null. Resolve this by adding our own wrapper that translates that case to an empty slice.