Liking cljdoc? Tell your friends :D

clj.intracel.serde.interface

The SerDe interface is used to move data in and out of the KV-Store. Most of these are usable for both key and value SerDes. For SerDes like big-int-serde, big-decimal-serde, nippy-serde, and string-serde it is recommended to use caution when serializing keys as there is a 511 byte limit in the underlying LMDB embedded database. To ease concerns a 511 byte limit supports most of the hashing algorithms easily:

  • MD5 - 16 bytes
  • RIPEMD - 20 bytes
  • SHA256 - 32 bytes
  • SHA384 - 48 bytes
  • SHA512 - 64 bytes
  • WHIRLPOOL - 64 bytes
  • xxhash - 8 bytes by default but a 128-bit xxhash is 16 bytes
The SerDe interface is used to move data in and out of the KV-Store.
Most of these are usable for both key and value SerDes.
For SerDes like `big-int-serde`, `big-decimal-serde`, `nippy-serde`, and `string-serde` 
it is recommended to use caution when serializing keys as there is a 511 byte limit
in the underlying LMDB embedded database.
To ease concerns a 511 byte limit supports most of the hashing algorithms easily:
* MD5 - 16 bytes
* RIPEMD - 20 bytes
* SHA256 - 32 bytes
* SHA384 - 48 bytes
* SHA512 - 64 bytes
* WHIRLPOOL - 64 bytes
* xxhash - 8 bytes by default but a 128-bit xxhash is 16 bytes
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close