pub fn decode_sync_with<D: Decoder, R: BufRead + ?Sized>(
    reader: &mut R,
    decoder: D
) -> Result<D::Value, ReadError<D::Error>>
Available on crate feature std only.
Expand description

Synchronously decodes a value from the given reader using a custom decoder.