func SkipUntilArray(input []byte, arr []byte) (delta int, found bool) {
	length := len(input)
	arrLength := len(arr)
	for i := 0; i < length; i++ {
		if input[i] == arr[0] {
			if i+arrLength <= length &&
				bytes.Compare(input[i+1:i+arrLength], arr[1:]) == 0 {
				return i, true
			}
		}
	}
	return 0, false
}
/*
return the chars skipped. -1 indicates there is no match
*/
return the chars skipped. -1 indicates there is no match
/ * return the chars skipped . - 1 indicates there is no match * /
func SkipUntilArray(input []byte, arr []byte) (delta int, found bool) {
	length := len(input)
	arrLength := len(arr)
	for i := 0; i < length; i++ {
		if input[i] == arr[0] {
			if i+arrLength <= length &&
				bytes.Compare(input[i+1:i+arrLength], arr[1:]) == 0 {
				return i, true
			}
		}
	}
	return 0, false
}
func SkipUntilArray ( input [ ] byte , arr [ ] byte ) ( delta int , found bool ) { length := len ( input ) arrLength := len ( arr ) for i := 0 ; i < length ; i ++ { if input [ i ] == arr [ 0 ] { if i + arrLength <= length && bytes . Compare ( input [ i + 1 : i + arrLength ] , arr [ 1 : ] ) == 0 { return i , true } } } return 0 , false }
return the chars skipped.
return the chars skipped .