pub fn encode_kernel(kernel: Vec<u8>, encoding: PayloadEncoding) -> Vec<u8> ⓘ
Encoding the kernel ELF using the provided format.