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.
Merge pull request #1 from pavleen/Decompose-Methods-using-extraction-method

Long Method: Decompose Methods using extraction method