This is the public API for working with protocol buffers.
This is the public API for working with protocol buffers.
(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"]`).
(->bytes this)(->schema this)(bytes-> this bytes)(read this in)(write this out)(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |