(bits-off-at positions byte-size)
Given a sequence of indexes (0-based), returns a sequence of 32 booleans where indexes
on given positions are set to false
Given a sequence of indexes (0-based), returns a sequence of 32 booleans where indexes on given positions are set to `false`
(bits-on-at positions byte-size)
Given a sequence of indexes (0-based), returns a sequence of n
(divisible by 8) booleans where indexes
on given positions are set to true
Given a sequence of indexes (0-based), returns a sequence of `n` (divisible by 8) booleans where indexes on given positions are set to `true`
(hex-dump b & {:keys [print] :or {print true}})
Prints a hex representation of
Prints a hex representation of
(off-bits-indexes val)
Returns indexes of the bits that are 'off'
Returns indexes of the bits that are 'off'
(on-bits-indexes val)
Returns indexes of the bits that are 'on'
Returns indexes of the bits that are 'on'
(positions types)
Returns a lazy sequence containing positions of elements
Returns a lazy sequence containing positions of elements
(read-nonempty-bytes buffer size)
(read-nonempty-bytes buffer idx size)
(read-nonempty-bytes buffer idx size rewind?)
(seqable? x)
Returns true if (seq x) will succeed, false otherwise.
Returns true if (seq x) will succeed, false otherwise.
(zero-fill-till-end buffer size expected-size)
(zero-fill-till-end buffer idx size expected-size)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close