Fixed buffer concatenation inefficiency.
Merge pull request #7 from bryanspitz/master

Fixed buffer concatenation inefficiency.