anchor.diff:              encode_value({MsgName,Key,Value1}, {msg,MsgName}, MsgDefs1)
       end.
   
  -
  +-spec encode_wiretype(gpb_field_type()) -> non_neg_integer().
   encode_wiretype(sint32)            -> 0;
   encode_wiretype(sint64)            -> 0;
   encode_wiretype(int32)             -> 0;
  
positive.code:       MsgDef).
  
  
  encode_msg(Msg, MsgDefs) ->
      MsgName = element(1, Msg),
      MsgDef = keyfetch({msg, MsgName}, MsgDefs),
  
negative.code: %% Conversion functions between various forms of #?gpb_field{} and a proplist
  %% with keys being the #?gpb_field{} record's field names.
  
  -spec defs_records_to_proplists(gpb_parse:defs()) -> proplist_defs().
  defs_records_to_proplists(Defs) ->
      [case Def of
           {{msg,Msg}, Fields} ->
  