use appropriate size type in Binary.unpack & Binary.pack