exproto v0.2.0 Protobuf.Encoder

Link to this section Summary

Link to this section Functions

Link to this function

class_field(arg1)
class_field(map()) :: atom()

Link to this function

encode(struct, opts \\ [])
encode(struct(), keyword()) :: iodata()

Link to this function

encode(struct, props, acc0)

Link to this function

encode_field(atom, val, prop)
encode_field(atom(), any(), Protobuf.FieldProps.t()) :: iodata()

Link to this function

encode_fnum(fnum, type)
encode_fnum(integer(), atom()) :: iodata()

Link to this function

encode_type(atom, n)
encode_type(atom(), any()) :: iodata()

Link to this function

encode_varint(n)
encode_varint(integer()) :: iodata()

Link to this function

encode_zigzag(val)
encode_zigzag(integer()) :: integer()

Link to this function

wire_type(mod)
wire_type(atom()) :: integer()