Liking cljdoc? Tell your friends :D

abracad.avro.codec

Basic functions for serializing/deserializing Avro data and making it portable via Base64 encoding

Basic functions for serializing/deserializing Avro
data and making it portable via Base64 encoding

->avro

(->avro schema-struct payload)

Encodes given arg with Avro schema

Encodes given arg with Avro schema
sourceraw docstring

->avro-base64

(->avro-base64 schema-struct payload)

Encode the payload with given Avro schema and encode it as Base64

Encode the payload with given Avro schema
and encode it as Base64
sourceraw docstring

avro->

(avro-> schema-struct payload)

Decodes given bag bytes with Avro schema

Decodes given bag bytes with Avro schema
sourceraw docstring

avro-base64->

(avro-base64-> schema-struct payload)

Decode Base64 data and load data with given Avro schema

Decode Base64 data and load data with given Avro schema
sourceraw docstring

base64-decode

(base64-decode payload)
source

base64-decoder

source

base64-encode

(base64-encode bytes)
source

base64-encoder

source

dump

(dump schema message)

Encode Avro message into a bag of bytes

Encode Avro message into a bag of bytes
sourceraw docstring

load

(load schema payload)

Deserialize Avro structure into a Clojure structure, must conform to schema

Deserialize Avro structure into a Clojure structure, must conform to `schema`
sourceraw docstring

parse-schema

Memoized version of parse-schema*

Memoized version of parse-schema*
sourceraw docstring

parse-schema*

(parse-schema* & schema-definition)

Reads schema definition and parses it

Reads schema definition and parses it
sourceraw docstring

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

× close