Liking cljdoc? Tell your friends :D

roughtime-protocol.endian


bytes->u32-listclj

(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.
sourceraw docstring

long->uint32-leclj

(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.
sourceraw docstring

long->uint64-leclj

(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.
sourceraw docstring

u32-list->bytesclj

(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[].
sourceraw docstring

uint32-le->longclj

(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].
sourceraw docstring

uint64-le->bigintclj

(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].
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close