I think you are misreading the code here…  It checks that the bytes are equal.