code: func CompareBytes(sl1, sl2 []byte, printDiff bool) (err error) {
  	var posStart, posEnd, len1, len2, length int
  	var diffs bool
  
  	len1 = len(sl1)
  	len2 = len(sl2)
  	length = len1
  	if length > len2 {
  		length = len2
  	}
  	for posStart < length-1 {
  		posEnd = posStart + 16
  		if posEnd > length {
  			posEnd = length
  		}
  		if !checkBytes(posStart, sl1[posStart:posEnd], sl2[posStart:posEnd], printDiff) {
  			diffs = true
  		}
  		posStart = posEnd
  	}
  	if diffs {
  		err = fmt.Errorf("documents are different")
  	}
  	return
  }
docs: // CompareBytes compares the bytes referred to by sl1 with those referred to by
  // sl2. Nil is returned if the buffers are equal, otherwise an error.