Modified putBufferNumber and documented.