formats
formats copied to clipboard
der: add `DecodeValue::decode_value_nested`
This PR moves read_nested out of pub(crate) fn read_value.
Such trait function allows us to disable read_nested selectively for some primitive types, like OctetStringRef.
@dishmaker have you benchmarked what the actual impact of this is?
I did not benchmark it.
Need to benchmark this and rebase