Function sequoia_openpgp_ffi::serialize::pgp_arbitrary_writer_new [−][src]
#[no_mangle]
pub extern "C" fn pgp_arbitrary_writer_new(
errp: Option<&mut *mut Error>,
inner: *mut Message<'static>,
tag: u8
) -> *mut Message<'static>
Expand description
Writes an arbitrary packet.
C Declaration
pgp_message_t
pgp_arbitrary_writer_new (pgp_error_t *errp,
pgp_message_t inner,
uint8_t tag);
This writer can be used to construct arbitrary OpenPGP packets. The body will be written using partial length encoding, or, if the body is short, using full length encoding.