protobuf v0.6.1 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(mod, struct, opts)
encode(atom(), struct(), keyword()) :: iodata()

Link to this function

encode!(struct, props)

Link to this function

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

Link to this function

encode_fnum(fnum, wire_type)
encode_fnum(integer(), integer()) :: iodata()

Link to this function

encode_type(arg1, 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()