anchor.diff:  -define(MAGIC, 53).      %% Magic number, as opposed to 131 for Erlang term-to-binary magic
                            %% Shanley's(11) + Joe's(42)
   -define(EMPTY_VTAG_BIN, <<"e">>).
  +-define(MSGPACK_MAGIC, 2). %% Magic number for msgpack encoding
   
   -export([new/3, new/4, ensure_robject/1, ancestors/1, reconcile/2, equal/2]).
   -export([increment_vclock/2, increment_vclock/3, prune_vclock/3, vclock_descends/2, all_actors/1]).
  
positive.code:     Bin;
  decode_maybe_binary(<<0, Bin/binary>>) ->
      binary_to_term(Bin);
  decode_maybe_binary(Bin) ->
      decode_msgpack(Bin).
  
  %% Update X-Riak-VTag and X-Riak-Last-Modified in the object's metadata, if
  %% necessary.
  
negative.code:     MDList2 = vtag_meta(VTag, MDList1),
      MDList = meta_of_binary(MetaRestBin, MDList2),
      MD = dict:from_list(MDList),
      {#r_content{metadata=MD, value=decode_maybe_binary(ValBin)}, Rest}.
  
  deleted_meta(<<1>>, MDList) ->
      [{?MD_DELETED, "true"} | MDList];
  