(->bytes specs)
Takes a sequence of specs which are of the form [:type-kw value]
and concatenates them into a Big Endian byte array.
Possible types are:
:int8
- single byte integer
:int16
- two byte integer
:int32
- four byte integer
:bytes
- byte array
Takes a sequence of specs which are of the form `[:type-kw value]` and concatenates them into a Big Endian byte array. Possible types are: `:int8` - single byte integer `:int16` - two byte integer `:int32` - four byte integer `:bytes` - byte array
(generate-accessory-png cat-id
{:keys [width height palette idat]}
{:keys [scale to-uri]})
(generate-png width height palette idat scale)
(generate-png-uri width height palette idat scale)
(str->bytes s)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close