Update buffer slicing

Looks like there was a change in nightly which removed `slice::raw::from_buf_raw()`

I replaced it with `slice::raw::buf_as_slice()` which appears to work fine, and I *think* is a 1:1 translation.  Tests pass.  

Buuut...I'm not really sure :)