pub fn parse_ktest(input: &[u8]) -> Result<KTest>
Parses a .ktest file and returns a KTest. Will return an error if any parts of the binary is illegal.