A library for packing variables to an array using printf style functions