Skip to main content

encode_header

Function encode_header 

Source
pub fn encode_header(
    binding: CutBinding,
    tool_len: usize,
    runtime_len: usize,
    out: &mut [u8; 98],
) -> Result<(), Error>
Expand description

Encode the exact version-2 header into preallocated storage, with no heap.