anchor.diff:          State;
   maybe_write_blocks(State=#state{free_writers=[]}) ->
           State;
  -maybe_write_blocks(State=#state{buffer_queue=[ToWrite, RestBuffer],
  +maybe_write_blocks(State=#state{buffer_queue=[ToWrite | RestBuffer],
                                   free_writers=FreeWriters,
                                   unacked_writes=UnackedWrites,
                                   bucket=Bucket,
  
positive.code:                                           content_length=ContentLength}) ->
  
      NewRemainderData = combine_new_and_remainder_data(NewData, RemainderData),
      UpdatedBytesReceived = PreviousBytesReceived + size(NewData),
  
      {NewBufferQueue, NewRemainderData2} =
  
negative.code:     gen_fsm:sync_send_event(Pid, finalize).
  
  block_written(Pid, BlockID) ->
      gen_fsm:send_event(Pid, {block_written, BlockID, self()}).
  
  %%%===================================================================
  %%% gen_fsm callbacks
  