make conversion between Clojure value and C struct (bytes stream), just like python's struct module