pub(crate) fn asn1_wrap(tag: Tag, bytes: &[u8]) -> Vec<u8>
Prepend bytes with the given ASN.1 Tag and appropriately encoded length byte(s). Useful for “adding back” ASN.1 bytes to parsed content.
bytes
Tag