pub fn from_optional_default<T: PartialEq>(
    v: Option<T>,
    default: T
) -> ParseResult<T>
Expand description

Decodes an OPTIONAL ASN.1 value which has a DEFAULT. Generaly called immediately after Parser::read_element.