pub fn encode<W, T>(writer: W, value: &T) -> Result<(), W::Error> where
    W: Writer,
    T: ?Sized + Encode
Expand description

Encode the given value to the given Writer using the DEFAULT configuration.