Function encode_kernel

Source
pub fn encode_kernel(kernel: Vec<u8>, encoding: PayloadEncoding) -> Vec<u8> 
Expand description

Encoding the kernel ELF using the provided format.