Liking cljdoc? Tell your friends :D

helins.binf.endian

Obtaining information about endianess and changing the endianess of primitive integers.

Endianess is either :big-endian or :little-endian.

Obtaining information about endianess and changing the endianess of primitive integers.

Endianess is either `:big-endian` or `:little-endian`.
raw docstring

b16clj/s

(b16 b16)

Swaps the endianess of a 16-bit integer.

Swaps the endianess of a 16-bit integer.
sourceraw docstring

b32clj/s

(b32 b32)

Swaps the endianess of a 32-bit integer.

Swaps the endianess of a 32-bit integer.
sourceraw docstring

b64clj/s

(b64 b64)

Swaps the endianess of a 64-bit integer.

Swaps the endianess of a 64-bit integer.
sourceraw docstring

order-hostclj/s

(order-host)

Returns the endianess of the host virtual machine.

On the JVM, always returns :big-endian. In JS, returns the same as order-native.

Returns the endianess of the host virtual machine.

On the JVM, always returns `:big-endian`. In JS, returns the same as [[order-native]].
sourceraw docstring

order-nativeclj/s

(order-native)

Returns the natural endianess of the machine.

Returns the natural endianess of the machine.
sourceraw docstring

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

× close