pub fn check_signature_encoding(
    vch_sig: &Vec<u8>,
    flags: u32,
    serror: *mut ScriptError
) -> bool