Long Method: Decompose Methods using extraction method

Method processNextBuffer() is a long method and contains a next if
statement.
We decomposed this long method into a distinguishable and easy to
understand methods for easier modification.