Skip to main content

encode

Function encode 

Source
pub fn encode(
    entry: &str,
    input_bytes: &[u64],
    output_bytes: &[u64],
    xclbin: &[u8],
    insts: &[u8],
) -> Vec<u8> ⓘ
Expand description

Build a container from its parts (for hosts and tools producing precompiled artifacts). The slot sizes are the exact per-binding byte counts: inputs first, then outputs; the counts are derived from the two slices’ lengths.