Reverts changes to data buffer.