pub fn to_slice<'a, 'b, T>( value: &'b T, buf: &'a mut [u8] ) -> Result<&'a mut [u8]>where T: Serialize + ?Sized,
Serialize a T to the given slice.
T