Added a check of the format of Array.pack()