anchor.diff:  -module(pgsql_wire).
   
   -export([init/1,
  -         decode/2,
  +         decode_messages/2,
            encode/2,
            encode/3]).
   
  
positive.code: encode(Type, Data, State = #state{}) ->
      Bin = iolist_to_binary(Data),
      <<Type:8, (byte_size(Bin) + 4):?int32, Bin/binary>>.
  
negative.code: init(Options) ->
      #state{options = Options}.
  
  decode_messages(Bin, #state{tail = Tail} = State) ->
      decode_messages([], <<Bin/binary, Tail/binary>>, State).
  
  encode(Data, State = #state{}) ->
      Bin = iolist_to_binary(Data),
  