- 授权协议: Apache
- 开发语言:
- 操作系统: 跨平台
- 软件首页: https://github.com/sritchie/carbonite
- 软件文档: https://github.com/sritchie/carbonite
软件介绍
carbonite 是 Kryo 序列化框架的 Clojure 的移植版本。
示例代码:
;; Initialize a registry with the default serializers (covering most Java and Clojure data) (def registry (default-registry)) ;; Serialize my-data (any Clojure data) into the ByteBuffer b (def b (new-buffer 1024)) (write-buffer registry b my-data)) ;; Rewind buffer back to the beginning (.rewind b) ;; Deserialize buffer back to Clojure data (def c (read-buffer registry b)))
