(bytes->u32-list ba)Interpret a byte[] as a list of little-endian uint32 words.
Interpret a byte[] as a list of little-endian uint32 words.
(long->uint32-le x)Encode an unsigned 32-bit x into 4 little-endian bytes.
Encode an unsigned 32-bit x into 4 little-endian bytes.
(long->uint64-le x)Encode an unsigned 64-bit x into 8 little-endian bytes.
Encode an unsigned 64-bit x into 8 little-endian bytes.
(u32-list->bytes nums)Concatenate a list of uint32s into a single little-endian byte[].
Concatenate a list of uint32s into a single little-endian byte[].
(uint32-le->long ba)Decode 4 LE bytes to a Java long [0, 2^32-1].
Decode 4 LE bytes to a Java long [0, 2^32-1].
(uint64-le->bigint ba)Decode 8 LE bytes to an unsigned 64-bit BigInteger [0, 2^64-1].
Decode 8 LE bytes to an unsigned 64-bit BigInteger [0, 2^64-1].
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |