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

combineclj

A convenience alias for util/combine

A convenience alias for `util/combine`
sourceraw 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.
sourceraw 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.
sourceraw docstring

mapdef->schemaclj

(mapdef->schema & args)

Return the schema for the given mapdef.

Return the schema for the given mapdef.
sourceraw docstring

mapdef?clj

(mapdef? obj)

Is the given object a PersistentProtocolBufferMap$Def?

Is the given object a `PersistentProtocolBufferMap$Def?`
sourceraw 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.
sourceraw 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.
sourceraw docstring

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

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

× close