(bytes->str ba)Converts bytes to an ASCII string, stripping trailing nulls.
Converts bytes to an ASCII string, stripping trailing nulls.
(pad4 ba)Pad ba with trailing zero bytes to a multiple of 4.
Pad `ba` with trailing zero bytes to a multiple of 4.
(str->bytes s)Converts a string to ASCII bytes, ensuring it is exactly 4 bytes (padded with nulls).
Converts a string to ASCII bytes, ensuring it is exactly 4 bytes (padded with nulls).
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 |