Using bindata instead of pack/unpack