Gloss is a byte-format DSL. It can turn complicated byte formats into Clojure data structures, allowing for easy use of custom network protocols and C libraries. It can also turn Clojure data structures into compact byte representations, allowing for efficient use of bandwidth and disk.
Read more about it in the wiki.
To add Gloss as a dependency:
Leiningen:
[org.clj-commons/gloss "0.3.0"]
deps.edn:
org.clj-commons/gloss {:mvn/version "0.3.0"}
The full API documentation can be found at cljdoc.
Copyright © 2014 Zach Tellman
Distributed under the Eclipse Public License, which is also used by Clojure.