anchor.diff:      Atom;
   return_resp(Resp) ->
       Resp.
  -
  -encode_ts_rows(Rows) ->
  -    [encode_ts_row(Row) || Row <- Rows].
  -
  -encode_ts_row(Row) when is_tuple(Row) ->
  -    encode_ts_row(tuple_to_list(Row));
  -encode_ts_row(Row) when is_list(Row) ->
  -    list_to_tuple([undefined_to_empty(Cell) || Cell <- Row]).
  -
  -undefined_to_empty(undefined) ->
  -    [];
  -undefined_to_empty(Cell) ->
  -    Cell.
  
positive.code: -include("riak_ts_ttb.hrl").
  
  -export([encode/1,
           encode_ts_rows/1,
           decode/1]).
  
  %% ------------------------------------------------------------
  
negative.code: 
  encode(Msg) ->
      [?TTB_MSG_CODE, term_to_binary(Msg)].
  
  
  %% ------------------------------------------------------------
  %% Decode does the reverse
  