Protox.Encode (Protox v1.3.1) View Source
This module contains the functions necessary to encode protobuf messages.
Link to this section Summary
Link to this section Functions
Specs
Encode a protobuf message into IO data.
Example
msg = %Fiz.Foo{a: 3, b: %{1 => %Fiz.Baz{}}}
{:ok, iodata} = Protox.Encode.encode(msg)
Specs
Throwing version of encode/1
.