[][src]Function der_parser::ber::ber_encode_object_raw

pub fn ber_encode_object_raw<'a, 'b: 'a, 'c: 'a, W: Write + Default + AsRef<[u8]> + 'a>(
    hdr: &'b BerObjectHeader<'_>,
    content: &'c BerObjectContent<'_>
) -> impl SerializeFn<W> + 'a
This is supported on crate feature serialize only.

Encode header and object content as BER, without any validation

Note that the encoding will not check any `field of the header (including length) This can be used to craft invalid objects.

This function is only available if the serialize feature is enabled.