Fixed buffer end pointer.
(it must point to last buffered character + 1)