startBuffer() now expects a max line length parameter