/// Return the slice of bytes written for an object.
Return the slice of bytes written for an object.
Return the slice of bytes written for an object .
fn slice_obj<F>(f: F) -> Vec<u8>
where
    F: FnOnce(Obj<'_>),
{
    let buf = slice(|w| f(w.indirect(Ref::new(1))));
    buf[8 .. buf.len() - 9].to_vec()
}
fn slice_obj < F > ( f : F ) -> Vec < u8 > where F : FnOnce ( Obj < ' _ > ) , { let buf = slice ( | w | f ( w . indirect ( Ref :: new ( 1 ) ) ) ) ; buf [ 8 .. buf . len ( ) - 9 ] . to_vec ( ) }
Return the slice of bytes written for an object.
Return the slice of bytes written for an object .
f
F