Function bytes::bytes::ptr_map

source ·
fn ptr_map<F>(ptr: *mut u8, f: F) -> *mut u8where
    F: FnOnce(usize) -> usize,