View Source Protobuf.Text (protobuf v0.17.0)
Text encoding of Protobufs.
Compliant with the
textproto spec,
but without extensions or Google.Protobuf.Any support (yet).
Summary
Functions
Encodes a Protobuf struct to text.
Functions
Encodes a Protobuf struct to text.
Accepts the following options:
:max_line_width- maximum line width, in columns. Defaults to 80. Lines may still be bigger than the limit, depending on the data.:print_unknown_fields?- iftrue, prints unknown fields. Notice this makes the output impossible to decode, per current Protobuf spec. Defaults tofalse.
Doesn't perform type validations. If input data is invalid, it produces undecodable output.