A bite has been used to mean a snack or meal since the 16th century. It is an example of the figure of speech known as synecdoche...ie where a part of something is used to mean the whole of it. We see it in such phrases as 'a hundred head of cattle', where the cows are clearly more than just heads!