[−][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
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.