The numBytesOfAvatarData() method checks the values of the important bits inside the packet and computes the length of the valid data which is then used at the higher context when copying the data to the storage buffer inside MixableAvatar.