(->bytes map-def m)
Return the byte representation of the given protobuf.
Return the byte representation of the given protobuf.
A convenience alias for util/combine
A convenience alias for `util/combine`
(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.
(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.
(mapdef->schema & args)
Return the schema for the given mapdef.
Return the schema for the given mapdef.
(mapdef? obj)
Is the given object a PersistentProtocolBufferMap$Def?
Is the given object a `PersistentProtocolBufferMap$Def?`
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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close