Liking cljdoc? Tell your friends :D

dhall-clj.binary


decborclj

(decbor e)

Given the clj-cbor representation of an expression, build the Dhall AST. Will throw an exception of type :dhall-clj.fail/binary on malformed input.

Given the clj-cbor representation of an expression, build the Dhall AST.
Will throw an exception of type `:dhall-clj.fail/binary` on malformed input.
sourceraw docstring

decodeclj

(decode binary-expr)

Takes a bytearray binary-expr, and tries to decode it into Dhall AST. Will throw an exception of type dhall-clj.fail/binary on malformed input.

Takes a bytearray `binary-expr`, and tries to decode it into Dhall AST.
Will throw an exception of type `dhall-clj.fail/binary` on malformed input.
sourceraw docstring

encodeclj

(encode e)
(encode e version)

Encode e (which should be Dhall AST) into its binary form. version is one of supported-versions. Will return a ByteArray.

Encode `e` (which should be Dhall AST) into its binary form.
`version` is one of `supported-versions`. Will return a `ByteArray`.
sourceraw docstring

IBinarycljprotocol

Interface for serializing expressions in binary format

Interface for serializing expressions in binary format

cborclj

(cbor e)

Transform an expression into a CBOR-ready Clojure data structure

Transform an expression into a CBOR-ready Clojure data structure
sourceraw docstring

protocol-versionclj

The currently supported version for the binary protocol

The currently supported version for the binary protocol
sourceraw docstring

supported-versionsclj

A list of versions that will be accepted for deserialization

A list of versions that will be accepted for deserialization
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close