Adding convenience functions for creating byte arrays and ByteBuffers; adding unpack, to iteratively read elements of a byte array and unpack them into the specified formats