anchor.diff:  %% Decode a binary object. We first try to interpret the data as a "new format" object which indicates
   %% its encoding method, but if that fails we use the legacy zlib and protocol buffer decoding:
   decode_binary_object(BinaryObject) ->
  -    case binary_to_term(BinaryObject) of
  +    try binary_to_term(BinaryObject) of
           { Method, BinObj } -> 
                                   case Method of
                                       encode_raw  -> {B, K, Val} = binary_to_term(BinObj),
  
positive.code:         encode_raw  -> EncodedObject = term_to_binary({ Bucket, Key, iolist_to_binary(Value) }),
                         return_encoded_binary_object(Method, EncodedObject);
  
          encode_zlib -> PBEncodedObject = riak_core_pb:encode_riakobject_pb(#riakobject_pb{bucket=Bucket, key=Key, val=Value}),
                         zlib:zip(PBEncodedObject)
      end.
  
negative.code:          encode_handoff_item/2,
           handle_exit/3,
           handle_info/2]).
  
  -export([handoff_data_encoding_method/0]).
  
  -include_lib("riak_kv_vnode.hrl").
  -include_lib("riak_kv_map_phase.hrl").
  