Properly stub out initial conditions of writeBuffer.