Liking cljdoc? Tell your friends :D

protobuf.core


get-rawclj

(get-raw p key)

Get value at key ignoring extension fields.

Get value at key ignoring extension fields.
sourceraw docstring

protobufclj

(protobuf type)
(protobuf type m)
(protobuf type k v & kvs)

Construct a protobuf of the given type.

Construct a protobuf of the given type.
sourceraw docstring

protobuf-dumpclj

(protobuf-dump p)
(protobuf-dump type m)

Return the byte representation of the given protobuf.

Return the byte representation of the given protobuf.
sourceraw docstring

protobuf-loadclj

(protobuf-load type data)
(protobuf-load type data offset length)

Load a protobuf of the given type from an array of bytes.

Load a protobuf of the given type from an array of bytes.
sourceraw docstring

protobuf-load-streamclj

(protobuf-load-stream type stream)

Load a protobuf of the given type from an InputStream.

Load a protobuf of the given type from an InputStream.
sourceraw docstring

protobuf-schemaclj

(protobuf-schema & args)

Return the schema for the given protodef.

Return the schema for the given protodef.
sourceraw docstring

protobuf-seqclj

(protobuf-seq type in)

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

Lazily read a sequence of length-delimited protobufs of the specified type from the given input stream.
sourceraw docstring

protobuf-writeclj

(protobuf-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

protobuf?clj

(protobuf? obj)

Is the given object a PersistentProtocolBufferMap?

Is the given object a PersistentProtocolBufferMap?
sourceraw docstring

protodefclj

(protodef def)
(protodef def opts)

Create a protodef from a string or protobuf class.

Create a protodef from a string or protobuf class.
sourceraw docstring

protodef?clj

(protodef? obj)

Is the given object a PersistentProtocolBufferMap$Def?

Is the given object a PersistentProtocolBufferMap$Def?
sourceraw docstring

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

× close