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