(bytes-and-back spec obj)
(count-for fname)
(defspec spec-name & field-specs)
(make-spec spec-name field-specs)
(spec s & data)
(spec-read spec)
Returns an instantiation of the provided spec, with data read from a DataInputStream bound to spec-in.
Returns an instantiation of the provided spec, with data read from a DataInputStream bound to *spec-in*.
(spec-read-bytes spec bytes)
(spec-read-url spec url)
(spec-write spec data)
Serializes the data according to spec, writing bytes onto spec-out.
Serializes the data according to spec, writing bytes onto *spec-out*.
(spec-write-basic ftype fname fval fdefault)
(spec-write-bytes spec data)
(spec-write-file spec data path)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close