Adding getShortBytes method to Packet