write_ops

Function write_ops 

Source
pub fn write_ops<W: Write, A: AddOp>(
    ops: &[Op<A>],
    header: &SectionHeader,
    writer: &mut W,
) -> Result<()>
Expand description

Used to write just the ops for the section.

  • ops - The operations to write.
  • header - The header for the section. This must match the contents of the ops.
  • writer - The writer to write to.