pbuf v0.0.1 Pbuf.Protoc.Field

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Pbuf.Protoc.Field{
  decode_fun: String.t(),
  default: String.t(),
  encode_fun: String.t(),
  hidden: boolean(),
  name: String.t(),
  oneof_index: nil | non_neg_integer(),
  post_decode: :none | :map | :repack,
  prefix: binary(),
  tag: pos_integer(),
  typespec: String.t()
}

Link to this section Functions

Link to this function build(desc, context)
build(Pbuf.Protoc.proto_field(), Context.t()) :: any()
Link to this function extract_core(desc)
extract_core(Pbuf.Protoc.proto_field()) ::
  {non_neg_integer(), String.t(), atom(), binary()}
Link to this function internal_type(type)
internal_type(byte() | atom()) :: atom()
Link to this function is_repeated?(desc)
is_repeated?(Pbuf.Protoc.proto_field()) :: boolean()
Link to this function module_name(map)
Link to this function stringify_binary(bin)