The method encode64() will return -1, if the given number doesn't fit the requested bits

The method will return -1 (FFFF for 16 bits, FFFFFFFF for 32bits etc.), if the given integer value is bigger than the number of bits. This could be useful for a switch between 32 bit and 64 bit ZIP-format.