Liking cljdoc? Tell your friends :D

protobuf.core

This is the public API for working with protocol buffers.

This is the public API for working with protocol buffers.
raw docstring

AdditionalPersistentMapAPIcljprotocol

assoc-inclj

(assoc-in protobuf-object ks v)

mergeclj

(merge & protobuf-objects)

merge-withclj

(merge-with fn & protobuf-objects)

update-inclj

(update-in protobuf-object ks fn)

createclj

(create protobuf-class)
(create protobuf-class data)
(create impl-key protobuf-class data)

default-impl-nameclj


get-implclj

(get-impl)

Get the currently configured protobuf implementation. If not defined, used the hard-coded default value (see default-impl-name).

Note that the protobuf backend implementation is configured using JVM system properties (i.e., the -D option). Projects that use lein may set this with :jvm-opts (e.g, :jvm-opts ["-Dprotobuf.impl=flatland"]).

Get the currently configured protobuf implementation. If not defined,
used the hard-coded default value (see `default-impl-name`).

Note that the protobuf backend implementation is configured using
JVM system properties (i.e., the `-D` option). Projects that use `lein`
may set this with `:jvm-opts`
(e.g, `:jvm-opts ["-Dprotobuf.impl=flatland"]`).
raw docstring

ProtoBufAPIcljprotocol

->bytesclj

(->bytes this)

->schemaclj

(->schema this)

bytes->clj

(bytes-> this bytes)

readclj

(read this in)

syntaxclj

(syntax this)

writeclj

(write this out)

ProtoBufCommonAPIcljprotocol

get-classclj

(get-class this)

get-instanceclj

(get-instance this)

get-wrapperclj

(get-wrapper this)

schemaclj

(schema protobuf-class)

This function is designed to be called against compiled Java protocol buffer classes. To get the schema of a Clojure protobuf instance, you'll want to use the ->schema method.

This function is designed to be called against compiled Java protocol
buffer classes. To get the schema of a Clojure protobuf instance, you'll
want to use the `->schema` method.
raw docstring

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

× close