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