typedef unsigned char byte;
A byte is simply another name for an unsigned char, which is defined by the C language to be an 8-bit quantity.
The byte type has been defined in this library as a convient short-hand for an 8-bit quantity, and is used in a few functions. It is quite acceptible to use unsigned char instead, if you prefer, since the two are equivalent.