protobufs

Prolog files

protobufs.pl  -- Google's Protocol Buffers ("protobufs")Show source
protobuf_field_is_map/2Succeeds if MessageType's FieldName is defined as a map<...> in the .proto file.Source
protobuf_map_pairs/3Convert between a list of protobuf map entries (in the form DictTag{key:Key, value:Value} and a key-value list as described in library(pairs).Source
protobuf_message/2Marshals and unmarshals byte streams encoded using Google's Protobuf grammars.Source
protobuf_message/3Marshals and unmarshals byte streams encoded using Google's Protobuf grammars.Source
protobuf_parse_from_codes/3Process bytes (list of int) that is the serialized form of a message (designated by MessageType), creating a Prolog term.Source
protobuf_serialize_to_codes/3Process a Prolog term into bytes (list of int) that is the serialized form of a message (designated by MessageType).Source