anchor.diff:  decode_rrdata(_Class, x25, Bin, _MsgBin) ->
       #dns_rrdata_x25{psdn_address = list_to_integer(binary_to_list(Bin))};
   decode_rrdata(_Class, _Type, Bin, _MsgBin) -> Bin.
  +
  +
  +%% @private
  +encode_rrdata(Class, Data) ->
  +    {Bin, undefined} = encode_rrdata(0, Class, Data, undefined),
  +    Bin.
   
   encode_rrdata(_Pos, Class, #dns_rrdata_a{ip = IP}, CompMap)
     when ?CLASS_IS_IN(Class) ->
  
positive.code: 	?DNS_CLASS_ANY_ATOM -> ?DNS_CLASS_ANY_NUMBER;
  	_ -> undefined
      end.
  
  %% @doc Returns the atom representation of a type integer.
  %% @spec type_to_atom(Type :: integer()) -> atom() | undefined
  
negative.code: 	_ -> throw(trailing_garbage)
      end.
  
  %% @private
  encode_dname(Name) ->
      Labels = << <<(byte_size(L)), L/binary>> || L <- dname_to_labels(Name) >>,
      <<Labels/binary, 0>>.
  