pub fn encode<W, T>(writer: W, value: &T) -> Result<(), Error>where W: Writer, Error: From<<W as Writer>::Error>, T: Encode + ?Sized,
Encode the given value to the given Writer using the DEFAULT configuration.