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`.
(b16 b16)Swaps the endianess of a 16-bit integer.
Swaps the endianess of a 16-bit integer.
(b32 b32)Swaps the endianess of a 32-bit integer.
Swaps the endianess of a 32-bit integer.
(b64 b64)Swaps the endianess of a 64-bit integer.
Swaps the endianess of a 64-bit integer.
(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]].
(order-native)Returns the natural endianess of the machine.
Returns the natural endianess of the machine.
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 |