pub fn byte_slots<B: AsRef<[u8]> + ?Sized>(value: &B) -> (*const u8, usize)
Borrow a bytes-like argument as the (ptr, len) slots of a callback method call.
(ptr, len)