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

createclj

(create protobuf-class)
(create protobuf-class data)
source

default-impl-nameclj

source

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"]`).
sourceraw docstring

ProtoBufAPIcljprotocol

->bytesclj

(->bytes this)

->schemaclj

(->schema this)

bytes->clj

(bytes-> this bytes)

readclj

(read this in)

writeclj

(write this out)
source

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.
sourceraw docstring

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

× close