pub(crate) fn read_value<'r, R, T, F, E>(
reader: &mut R,
header: Header,
f: F,
) -> Result<T, E>Expand description
Read a value (i.e. the “V” part of a “TLV” field) using the provided header.
This calls the provided function f with a nested reader created using
Reader::read_nested.