Liking cljdoc? Tell your friends :D

protobuf.impl.flatland.mapdef


->bytesclj

(->bytes map-def m)

Return the byte representation of the given protobuf.

Return the byte representation of the given protobuf.
raw docstring

combineclj

A convenience alias for util/combine

A convenience alias for `util/combine`
raw docstring

createclj

(create map-def)
(create map-def m)
(create map-def k v & kvs)

Construct a protobuf of the given map-def.

Construct a protobuf of the given map-def.
raw docstring

mapdefclj

(mapdef map-def)
(mapdef map-def opts)

Create a protocol buffer map definition from a string or protobuf class.

Create a protocol buffer map definition from a string or protobuf class.
raw docstring

mapdef->schemaclj

(mapdef->schema & args)

Return the schema for the given mapdef.

Return the schema for the given mapdef.
raw docstring

mapdef?clj

(mapdef? obj)

Is the given object a PersistentProtocolBufferMap$Def?

Is the given object a `PersistentProtocolBufferMap$Def?`
raw docstring

parsecljmultimethod

Load a protobuf of the given map-def from a data source.

Supported data sources are either an array of bytes or an input stream.

Load a protobuf of the given map-def from a data source.

Supported data sources are either an array of bytes or an input stream.
raw docstring

readclj

(read map-def in)

Lazily read a sequence of length-delimited protobufs of the specified map-def from the given input stream.

Lazily read a sequence of length-delimited protobufs of the specified map-def
from the given input stream.
raw docstring

syntaxclj

(syntax map-def)

writeclj

(write out & ps)

Write the given protobufs to the given output stream, prefixing each with its length to delimit them.

Write the given protobufs to the given output stream, prefixing each with
its length to delimit them.
raw docstring

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

× close